From e85b0a957cfeb6db2e35970dffc2f8ab3dc7bf68 Mon Sep 17 00:00:00 2001 From: eksctl-bot <53547694+eksctl-bot@users.noreply.github.com> Date: Wed, 31 Jul 2024 10:26:55 +0100 Subject: [PATCH] Update nvidia-device-plugin to v0.16.0 (#7900) update nvidia-device-plugin to v0.16.0 Co-authored-by: TiberiuGC <110664232+TiberiuGC@users.noreply.github.com> --- pkg/addons/assets/nvidia-device-plugin.yaml | 25 ++++++++------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/pkg/addons/assets/nvidia-device-plugin.yaml b/pkg/addons/assets/nvidia-device-plugin.yaml index 20cf248d02..681c23de21 100644 --- a/pkg/addons/assets/nvidia-device-plugin.yaml +++ b/pkg/addons/assets/nvidia-device-plugin.yaml @@ -25,18 +25,10 @@ spec: type: RollingUpdate template: metadata: - # This annotation is deprecated. Kept here for backward compatibility - # See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/ - annotations: - scheduler.alpha.kubernetes.io/critical-pod: "" labels: name: nvidia-device-plugin-ds spec: tolerations: - # This toleration is deprecated. Kept here for backward compatibility - # See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/ - - key: CriticalAddonsOnly - operator: Exists - key: nvidia.com/gpu operator: Exists effect: NoSchedule @@ -46,18 +38,19 @@ spec: # See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/ priorityClassName: "system-node-critical" containers: - - image: nvcr.io/nvidia/k8s-device-plugin:v0.9.0 + - image: nvcr.io/nvidia/k8s-device-plugin:v0.16.0 name: nvidia-device-plugin-ctr - args: ["--fail-on-init-error=false"] + env: + - name: FAIL_ON_INIT_ERROR + value: "false" securityContext: allowPrivilegeEscalation: false capabilities: drop: ["ALL"] volumeMounts: - - name: device-plugin - mountPath: /var/lib/kubelet/device-plugins - volumes: - name: device-plugin - hostPath: - path: /var/lib/kubelet/device-plugins - + mountPath: /var/lib/kubelet/device-plugins + volumes: + - name: device-plugin + hostPath: + path: /var/lib/kubelet/device-plugins