Skip to content

Commit

Permalink
final fix for munged handling on shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
kincl committed Nov 7, 2023
1 parent e7db767 commit 99d2417
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion slurm/manifests/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@ configMapGenerator:
- name: slurm-conf
files:
- configs/slurm.conf
- configs/munge-init
options:
disableNameSuffixHash: true
6 changes: 4 additions & 2 deletions slurm/manifests/statefulset-compute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ spec:
serviceName: "compute"
replicas: 1
minReadySeconds: 10
terminationGracePeriodSeconds: 60
template:
metadata:
labels:
Expand All @@ -42,7 +41,7 @@ spec:
searches:
- slurm.slurm-system.svc.cluster.local
enableServiceLinks: false
terminationGracePeriodSeconds: 10
terminationGracePeriodSeconds: 15
serviceAccountName: slurm
initContainers:
- name: fix-munge-paths
Expand Down Expand Up @@ -89,6 +88,9 @@ spec:
mountPath: /home
- name: munge
image: ghcr.io/naps-product-sa/openshift-batch/munge:latest
command:
- /bin/bash
- /scripts/munged-container.sh
securityContext:
runAsUser: 500
runAsGroup: 500
Expand Down

0 comments on commit 99d2417

Please sign in to comment.