Skip to content

Commit

Permalink
Merge pull request #28 from stackhpc/feat/hostport
Browse files Browse the repository at this point in the history
Only permit one slurmd pod per k8s node
  • Loading branch information
sjpb authored Aug 17, 2023
2 parents e839442 + d313063 commit a0193a6
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions slurm-cluster-chart/templates/slurmd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ spec:
app.kubernetes.io/name: slurm
app.kubernetes.io/component: slurmd
spec:
topologySpreadConstraints:
- maxSkew: 1
whenUnsatisfiable: ScheduleAnyway
topologyKey: kubernetes.io/hostname
labelSelector:
matchLabels:
app.kubernetes.io/name: slurm
app.kubernetes.io/component: slurmd
containers:
- args:
- slurmd
Expand All @@ -37,6 +29,7 @@ spec:
name: slurmd
ports:
- containerPort: 6818
hostPort: 6818
resources: {}
volumeMounts:
- mountPath: /etc/slurm/
Expand Down

0 comments on commit a0193a6

Please sign in to comment.