File tree Expand file tree Collapse file tree 1 file changed +18
-8
lines changed Expand file tree Collapse file tree 1 file changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,29 @@ spec:
13
13
labels :
14
14
k8s-app : nvidia-gpu-monitoring-daemonset
15
15
spec :
16
- volumes :
17
- - name : kubelet-podresources
18
- hostPath :
19
- path : /var/lib/kubelet/
20
- - name : dev
21
- hostPath :
22
- path : /dev
23
16
containers :
24
17
- image : " gcr.io/dashpole-kubernetes-test/gpu-monitor:v2"
25
18
name : gpu-monitor
26
- args : ["--socket=/podresources/kubelet.sock"]
19
+ args : ["--socket=/podresources/kubelet.sock", --v=10 ]
27
20
volumeMounts :
28
21
- name : kubelet-podresources
29
22
mountPath : /podresources
30
23
- name : dev
31
24
mountPath : /dev
25
+ - name : libnvidia
26
+ mountPath : /home/kubernetes/bin/nvidia/lib64/
27
+ securityContext :
28
+ privileged : true
29
+ env :
30
+ - name : LD_LIBRARY_PATH
31
+ value : " /home/kubernetes/bin/nvidia/lib64/"
32
+ volumes :
33
+ - name : kubelet-podresources
34
+ hostPath :
35
+ path : /var/lib/kubelet/
36
+ - name : dev
37
+ hostPath :
38
+ path : /dev
39
+ - name : libnvidia
40
+ hostPath :
41
+ path : /home/kubernetes/bin/nvidia/lib64/
You can’t perform that action at this time.
0 commit comments