Remove CDI device-list-strategy from device plugin

CDI annotations require NVML validation that fails on NixOS. Use the
default envvar strategy for the device plugin — CDI device injection
still works at the containerd level via enable_cdi=true.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-02-19 12:39:36 -08:00
commit 7b7358225c

View file

@ -24,10 +24,6 @@ spec:
- name: nvidia-device-plugin
image: nvcr.io/nvidia/k8s-device-plugin:v0.18.2
env:
- name: DEVICE_LIST_STRATEGY
value: cdi-annotations
- name: CDI_ROOT
value: /var/run/cdi
- name: LD_LIBRARY_PATH
value: /run/nvidia/lib
securityContext: