Skip to content

Commit 5c00efc

Browse files
committed
Fix MPS mount for device plugin
Signed-off-by: Evan Lezar <[email protected]>
1 parent f405a81 commit 5c00efc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployments/helm/nvidia-device-plugin/templates/daemonset-device-plugin.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ spec:
186186
# This is required for CDI detection to work correctly.
187187
- name: driver-root
188188
mountPath: /driver-root
189-
readOnly: true
190189
{{- end }}
191190
# The MPS /dev/shm is needed to allow for MPS daemon health-checking.
192191
- name: mps-shm
@@ -213,6 +212,7 @@ spec:
213212
hostPath:
214213
# TODO: This should be /var/run/nvidia/mps
215214
path: /var/lib/kubelet/device-plugins/mps
215+
type: DirectoryOrCreate
216216
- name: mps-shm
217217
hostPath:
218218
path: /var/lib/kubelet/device-plugins/mps/shm

0 commit comments

Comments
 (0)