From d31306322c8ecd5d9e4326c11f6f2ccf0d930b9c Mon Sep 17 00:00:00 2001 From: Steve Brasier Date: Thu, 17 Aug 2023 08:22:42 +0000 Subject: [PATCH] only permit one slurmd pod per k8s node --- slurm-cluster-chart/templates/slurmd.yaml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/slurm-cluster-chart/templates/slurmd.yaml b/slurm-cluster-chart/templates/slurmd.yaml index 62646b7..b017093 100644 --- a/slurm-cluster-chart/templates/slurmd.yaml +++ b/slurm-cluster-chart/templates/slurmd.yaml @@ -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 @@ -37,6 +29,7 @@ spec: name: slurmd ports: - containerPort: 6818 + hostPort: 6818 resources: {} volumeMounts: - mountPath: /etc/slurm/