Skip to content

Commit a0193a6

Browse files
authored
Merge pull request #28 from stackhpc/feat/hostport
Only permit one slurmd pod per k8s node
2 parents e839442 + d313063 commit a0193a6

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

slurm-cluster-chart/templates/slurmd.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@ spec:
2020
app.kubernetes.io/name: slurm
2121
app.kubernetes.io/component: slurmd
2222
spec:
23-
topologySpreadConstraints:
24-
- maxSkew: 1
25-
whenUnsatisfiable: ScheduleAnyway
26-
topologyKey: kubernetes.io/hostname
27-
labelSelector:
28-
matchLabels:
29-
app.kubernetes.io/name: slurm
30-
app.kubernetes.io/component: slurmd
3123
containers:
3224
- args:
3325
- slurmd
@@ -37,6 +29,7 @@ spec:
3729
name: slurmd
3830
ports:
3931
- containerPort: 6818
32+
hostPort: 6818
4033
resources: {}
4134
volumeMounts:
4235
- mountPath: /etc/slurm/

0 commit comments

Comments
 (0)