Commit 72e89c3
committed
fix: add /usr/bin symlinks for nvidia-ctk and nvidia-cdi-hook
The gpu-operator device plugin generates CDI specs with hooks pointing
to /usr/bin/nvidia-ctk and /usr/bin/nvidia-cdi-hook (hardcoded defaults
in NVIDIA/k8s-device-plugin and NVIDIA/nvidia-container-toolkit). Talos
extensions install these binaries under /usr/local/bin/, causing pods
requesting nvidia.com/gpu resource limits to fail.
Add symlinks from /usr/bin/nvidia-ctk and /usr/bin/nvidia-cdi-hook to
their /usr/local/bin/ counterparts, following the same pattern as the
existing /usr/bin/ldconfig symlink. This eliminates the need for users
to set NVIDIA_CDI_HOOK_PATH in the gpu-operator values.
Requires siderolabs/talos#13021 validator allowlist update.
Signed-off-by: David Orman <ormandj@corenode.com>1 parent 20f2cac commit 72e89c3
File tree
1 file changed
+4
-0
lines changed- nvidia-gpu/nvidia-container-toolkit/nvidia-container-runtime
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
0 commit comments