Skip to content

Commit

Permalink
mount imex nodes config
Browse files Browse the repository at this point in the history
  • Loading branch information
guptaNswati committed Oct 29, 2024
1 parent 752e8ae commit 8fcb4dc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions assets/state-driver/0500_daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ spec:
mountPath: /sys/module/firmware_class/parameters/path
- name: nv-firmware
mountPath: /lib/firmware
- name: host-imex-config
mountPath: /etc/nvidia-imex/nodes_config.cfg
startupProbe:
exec:
command:
Expand Down Expand Up @@ -335,3 +337,7 @@ spec:
hostPath:
path: /run/nvidia/driver/lib/firmware
type: DirectoryOrCreate
- name: host-imex-config
hostPath:
path: /etc/nvidia-imex/nodes_config.cfg
type: File
6 changes: 6 additions & 0 deletions manifests/state-driver/0500_daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ spec:
mountPath: /sys/devices/system/memory/auto_online_blocks
- name: nv-firmware
mountPath: /lib/firmware
- name: host-imex-config
mountPath: /etc/nvidia-imex/nodes_config.cfg
{{- if and .AdditionalConfigs .AdditionalConfigs.VolumeMounts }}
{{- range .AdditionalConfigs.VolumeMounts }}
- name: {{ .Name }}
Expand Down Expand Up @@ -644,6 +646,10 @@ spec:
hostPath:
path: /run/nvidia/driver/lib/firmware
type: DirectoryOrCreate
- name: host-imex-config
hostPath:
path: /etc/nvidia-imex/nodes_config.cfg
type: File
{{- if and .AdditionalConfigs .AdditionalConfigs.Volumes }}
{{- range .AdditionalConfigs.Volumes }}
- name: {{ .Name }}
Expand Down

0 comments on commit 8fcb4dc

Please sign in to comment.