Skip to content

Commit e85b0a9

Browse files
Update nvidia-device-plugin to v0.16.0 (#7900)
update nvidia-device-plugin to v0.16.0 Co-authored-by: TiberiuGC <[email protected]>
1 parent 7cf024a commit e85b0a9

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

pkg/addons/assets/nvidia-device-plugin.yaml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,10 @@ spec:
2525
type: RollingUpdate
2626
template:
2727
metadata:
28-
# This annotation is deprecated. Kept here for backward compatibility
29-
# See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/
30-
annotations:
31-
scheduler.alpha.kubernetes.io/critical-pod: ""
3228
labels:
3329
name: nvidia-device-plugin-ds
3430
spec:
3531
tolerations:
36-
# This toleration is deprecated. Kept here for backward compatibility
37-
# See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/
38-
- key: CriticalAddonsOnly
39-
operator: Exists
4032
- key: nvidia.com/gpu
4133
operator: Exists
4234
effect: NoSchedule
@@ -46,18 +38,19 @@ spec:
4638
# See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/
4739
priorityClassName: "system-node-critical"
4840
containers:
49-
- image: nvcr.io/nvidia/k8s-device-plugin:v0.9.0
41+
- image: nvcr.io/nvidia/k8s-device-plugin:v0.16.0
5042
name: nvidia-device-plugin-ctr
51-
args: ["--fail-on-init-error=false"]
43+
env:
44+
- name: FAIL_ON_INIT_ERROR
45+
value: "false"
5246
securityContext:
5347
allowPrivilegeEscalation: false
5448
capabilities:
5549
drop: ["ALL"]
5650
volumeMounts:
57-
- name: device-plugin
58-
mountPath: /var/lib/kubelet/device-plugins
59-
volumes:
6051
- name: device-plugin
61-
hostPath:
62-
path: /var/lib/kubelet/device-plugins
63-
52+
mountPath: /var/lib/kubelet/device-plugins
53+
volumes:
54+
- name: device-plugin
55+
hostPath:
56+
path: /var/lib/kubelet/device-plugins

0 commit comments

Comments
 (0)