Skip to content

Commit

Permalink
Merge pull request #29 from stackhpc/feat/hostnetwork
Browse files Browse the repository at this point in the history
Use host networking
  • Loading branch information
sjpb authored Aug 17, 2023
2 parents a0193a6 + 4d4a15b commit def4a77
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions slurm-cluster-chart/templates/slurmd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ spec:
- slurmd
- -F
- -vvv
- -N
- "$(POD_NAME)"
env:
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
image: {{ .Values.slurmImage }}
name: slurmd
ports:
Expand All @@ -41,6 +48,8 @@ spec:
subPath: munge.key
securityContext:
privileged: true
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
dnsConfig:
searches:
- slurmd.{{ .Release.Namespace }}.svc.cluster.local
Expand Down

0 comments on commit def4a77

Please sign in to comment.