From 3b9ef05ea975cecb34c18cea77e8202e49c5d8f8 Mon Sep 17 00:00:00 2001 From: Gaurav Mehta Date: Wed, 18 Sep 2024 09:46:54 +1000 Subject: [PATCH] include additional mounts to stage driver firmware --- .../nvidia-driver-runtime/templates/daemonset.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/charts/nvidia-driver-runtime/templates/daemonset.yaml b/charts/nvidia-driver-runtime/templates/daemonset.yaml index af9db469..36eb389a 100644 --- a/charts/nvidia-driver-runtime/templates/daemonset.yaml +++ b/charts/nvidia-driver-runtime/templates/daemonset.yaml @@ -46,6 +46,10 @@ spec: readOnly: true - name: host-sys mountPath: /sys + - name: firmware-search-path + mountPath: /sys/module/firmware_class/parameters/path + - name: nv-firmware + mountPath: /lib/firmware resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.nodeSelector }} @@ -65,4 +69,11 @@ spec: - name: host-sys hostPath: path: /sys - type: Directory \ No newline at end of file + type: Directory + - name: firmware-search-path + hostPath: + path: /sys/module/firmware_class/parameters/path + - name: nv-firmware + hostPath: + path: /run/nvidia/driver/lib/firmware + type: DirectoryOrCreate \ No newline at end of file