From 19d1d5fa4af58420bc33d261c6682ba86b778815 Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Sun, 1 Mar 2026 16:45:42 +0200 Subject: [PATCH] Remove the node-selector --- manifests/nvidia-device-plugin/nvidia-device-plugin.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/manifests/nvidia-device-plugin/nvidia-device-plugin.yaml b/manifests/nvidia-device-plugin/nvidia-device-plugin.yaml index d490e48..409a610 100644 --- a/manifests/nvidia-device-plugin/nvidia-device-plugin.yaml +++ b/manifests/nvidia-device-plugin/nvidia-device-plugin.yaml @@ -28,8 +28,12 @@ spec: labels: name: nvidia-device-plugin-ds spec: - nodeSelector: - nvidia.com/gpu.present: "true" + # nodeSelector removed for initial deployment to avoid chicken-egg problem + # The nvidia.com/gpu.present label is applied BY the device plugin itself + # FAIL_ON_INIT_ERROR=false ensures graceful skip on nodes without GPU + # After first deployment, you can optionally re-enable with: + # nodeSelector: + # nvidia.com/gpu.present: "true" tolerations: - key: nvidia.com/gpu operator: Exists