Skip to content

Commit 8865107

Browse files
committed
feat(gpu): pin device plugin image with WSL2 CDI spec fixes
Use ghcr.io/nvidia/k8s-device-plugin:1bb36583 which includes upstream fixes for WSL2 CDI spec compatibility (cdiVersion and device naming), removing the need for any local spec transformation. See NVIDIA/k8s-device-plugin#1671. TODO: revert to chart-default image once a released version includes these fixes. Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent 28db08e commit 8865107

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

deploy/kube/gpu-manifests/nvidia-device-plugin-helmchart.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
# devices are injected via CDI hooks before container start. Sandbox pods only
1717
# need the nvidia.com/gpu resource request — no runtimeClassName is required.
1818
#
19+
# The image is pinned to commit 1bb36583 which includes WSL2 CDI spec
20+
# compatibility fixes (correct cdiVersion and device naming).
21+
# TODO: switch back to the chart-default image once a released version includes
22+
# these fixes and the version pin above is updated accordingly.
23+
#
1924
# k3s auto-detects nvidia-container-runtime on PATH and registers the "nvidia"
2025
# RuntimeClass automatically, so no manual RuntimeClass manifest is needed.
2126

@@ -34,6 +39,9 @@ spec:
3439
runtimeClassName: nvidia
3540
deviceListStrategy: cdi-cri
3641
deviceIDStrategy: index
42+
image:
43+
repository: ghcr.io/nvidia/k8s-device-plugin
44+
tag: "1bb36583"
3745
cdi:
3846
nvidiaHookPath: /usr/bin/nvidia-cdi-hook
3947
nvidiaDriverRoot: "/"

0 commit comments

Comments
 (0)