File tree Expand file tree Collapse file tree 1 file changed +9
-16
lines changed Expand file tree Collapse file tree 1 file changed +9
-16
lines changed Original file line number Diff line number Diff line change @@ -25,18 +25,10 @@ spec:
25
25
type : RollingUpdate
26
26
template :
27
27
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 : " "
32
28
labels :
33
29
name : nvidia-device-plugin-ds
34
30
spec :
35
31
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
40
32
- key : nvidia.com/gpu
41
33
operator : Exists
42
34
effect : NoSchedule
@@ -46,18 +38,19 @@ spec:
46
38
# See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/
47
39
priorityClassName : " system-node-critical"
48
40
containers :
49
- - image : nvcr.io/nvidia/k8s-device-plugin:v0.9 .0
41
+ - image : nvcr.io/nvidia/k8s-device-plugin:v0.16 .0
50
42
name : nvidia-device-plugin-ctr
51
- args : ["--fail-on-init-error=false"]
43
+ env :
44
+ - name : FAIL_ON_INIT_ERROR
45
+ value : " false"
52
46
securityContext :
53
47
allowPrivilegeEscalation : false
54
48
capabilities :
55
49
drop : ["ALL"]
56
50
volumeMounts :
57
- - name : device-plugin
58
- mountPath : /var/lib/kubelet/device-plugins
59
- volumes :
60
51
- 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
You can’t perform that action at this time.
0 commit comments