Skip to content

Commit

Permalink
fix(helm): Add NODE_NAME env var to the vgpu-monitor container from s…
Browse files Browse the repository at this point in the history
…pec.nodeName

Signed-off-by: Nimbus318 <[email protected]>
  • Loading branch information
Nimbus318 committed Dec 6, 2024
1 parent 54b8f74 commit e930c45
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/hami/templates/device-plugin/daemonsetnvidia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ spec:
drop: ["ALL"]
add: ["SYS_ADMIN"]
env:
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: NVIDIA_VISIBLE_DEVICES
value: "all"
- name: NVIDIA_MIG_MONITOR_DEVICES
Expand Down

0 comments on commit e930c45

Please sign in to comment.