Slurm's ports for the cluster only, and srun in a range of its own
CI / test (push) Successful in 9m40s

slurm.conf sets SrunPortRange=60001-63000, so a site's firewall can let
srun's step connections in. A node given a part in Slurm adds 6817-6818
and that range to llmgw's nftables table, open to the cluster's networks
and closed to everyone else, as the engines' ports are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ilker ManapandClaude Opus 5.5 committed 2026-11-11 22:10:37 +01:00
1 parent 914985bf9f
commit 3387f97f6a
7 files changed
+90 -4

No files matched your search

+7
View File
@@ -101,6 +101,13 @@ func (k *Keeper) Apply(m *llmgwv1.Slurm) {
}
}
// HasPart is whether the last message gives this machine a part in Slurm.
func (k *Keeper) HasPart() bool {
k.mu.Lock()
defer k.mu.Unlock()
return k.want.GetController() || k.want.GetNode()
}
// Resend has the status sent again on the next pass, which it starts now.
func (k *Keeper) Resend() {
k.mu.Lock()