Skip to content

Commit

Permalink
Use HostToContainer mount propagation for validations directory in GFD
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Desiniotis <[email protected]>
  • Loading branch information
cdesiniotis committed Oct 25, 2024
1 parent cc601fb commit 401c81d
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions assets/gpu-feature-discovery/0500_daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ spec:
securityContext:
privileged: true
volumeMounts:
- name: run-nvidia
mountPath: /run/nvidia
mountPropagation: Bidirectional
- name: run-nvidia-validations
mountPath: /run/nvidia/validations
mountPropagation: HostToContainer
- name: gpu-feature-discovery-imex-init
image: "FILLED BY THE OPERATOR"
command: ["/bin/bash", "-c"]
Expand Down Expand Up @@ -67,10 +67,9 @@ spec:
volumeMounts:
- name: config
mountPath: /config
- name: run-nvidia
mountPath: /run/nvidia
readOnly: true
mountPropagation: Bidirectional
- name: run-nvidia-validations
mountPath: /run/nvidia/validations
mountPropagation: HostToContainer
- name: host-root
mountPath: /host/etc
subPath: etc
Expand Down Expand Up @@ -169,10 +168,10 @@ spec:
- name: dmi-info-dir
hostPath:
path: "/sys/class/dmi/id"
- name: run-nvidia
- name: run-nvidia-validations
hostPath:
path: "/run/nvidia"
type: Directory
path: "/run/nvidia/validations"
type: DirectoryOrCreate
- name: host-root
hostPath:
path: /
Expand Down

0 comments on commit 401c81d

Please sign in to comment.