diff --git a/slurm-cluster-chart/templates/slurmd.yaml b/slurm-cluster-chart/templates/slurmd.yaml index bec55ce..66638f2 100644 --- a/slurm-cluster-chart/templates/slurmd.yaml +++ b/slurm-cluster-chart/templates/slurmd.yaml @@ -36,7 +36,7 @@ spec: name: slurmd ports: - containerPort: 6818 - hostPort: 6818 + hostPort: 6818 # used to ensure only a single pod per k8s node resources: {} volumeMounts: - mountPath: /etc/slurm/ diff --git a/slurm-cluster-chart/values.yaml b/slurm-cluster-chart/values.yaml index 272fc4c..2acf0dd 100644 --- a/slurm-cluster-chart/values.yaml +++ b/slurm-cluster-chart/values.yaml @@ -7,8 +7,8 @@ login: slurmd: # StatefulSet resource name - name: slurmd # NB this must match NodeName= in slurm-cluster-chart/files/slurm.conf - replicas: 2 + name: slurmd # NB must match prefix of NodeName= definition in slurm-cluster-chart/files/slurm.conf + replicas: 2 # NB must be <= number of nodes in NodeName= definition in slurm-cluster-chart/files/slurm.conf slurmctld: # StatefulSet resource name