Mount NVIDIA libs to standard lib path for NVML discovery
go-nvml uses dl.Open which looks in standard library paths. Mount to /usr/lib/x86_64-linux-gnu for reliable discovery. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
5194de13b9
commit
4427eb77f2
1 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ spec:
|
|||
- name: CDI_ROOT
|
||||
value: /var/run/cdi
|
||||
- name: LD_LIBRARY_PATH
|
||||
value: /run/nvidia/lib
|
||||
value: /usr/lib/x86_64-linux-gnu
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
|
|
@ -41,7 +41,7 @@ spec:
|
|||
mountPath: /var/run/cdi
|
||||
readOnly: true
|
||||
- name: nvidia-libs
|
||||
mountPath: /run/nvidia/lib
|
||||
mountPath: /usr/lib/x86_64-linux-gnu
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: device-plugins
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue