commit
d78f0b1844
|
@ -46,21 +46,18 @@ spec:
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /dev
|
path: /dev
|
||||||
containers:
|
containers:
|
||||||
- image: "{{default "k8s.gcr.io" .ImageRepository}}/nvidia-gpu-device-plugin@sha256:0842734032018be107fa2490c98156992911e3e1f2a21e059ff0105b07dd8e9e"
|
- image: "nvidia/k8s-device-plugin:1.0.0-beta4"
|
||||||
command: ["/usr/bin/nvidia-gpu-device-plugin", "-logtostderr"]
|
command: ["/usr/bin/nvidia-device-plugin", "-logtostderr"]
|
||||||
name: nvidia-gpu-device-plugin
|
name: nvidia-gpu-device-plugin
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 50m
|
cpu: 50m
|
||||||
memory: 10Mi
|
memory: 10Mi
|
||||||
limits:
|
|
||||||
cpu: 50m
|
|
||||||
memory: 10Mi
|
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: device-plugin
|
- name: device-plugin
|
||||||
mountPath: /device-plugin
|
mountPath: /var/lib/kubelet/device-plugins
|
||||||
- name: dev
|
- name: dev
|
||||||
mountPath: /dev
|
mountPath: /dev
|
||||||
updateStrategy:
|
updateStrategy:
|
|
@ -296,11 +296,11 @@ var Addons = map[string]*Addon{
|
||||||
}, false, "nvidia-driver-installer"),
|
}, false, "nvidia-driver-installer"),
|
||||||
"nvidia-gpu-device-plugin": NewAddon([]*BinAsset{
|
"nvidia-gpu-device-plugin": NewAddon([]*BinAsset{
|
||||||
MustBinAsset(
|
MustBinAsset(
|
||||||
"deploy/addons/gpu/nvidia-gpu-device-plugin.yaml.tmpl",
|
"deploy/addons/gpu/nvidia-gpu-device-plugin.yaml",
|
||||||
vmpath.GuestAddonsDir,
|
vmpath.GuestAddonsDir,
|
||||||
"nvidia-gpu-device-plugin.yaml",
|
"nvidia-gpu-device-plugin.yaml",
|
||||||
"0640",
|
"0640",
|
||||||
true),
|
false),
|
||||||
}, false, "nvidia-gpu-device-plugin"),
|
}, false, "nvidia-gpu-device-plugin"),
|
||||||
"logviewer": NewAddon([]*BinAsset{
|
"logviewer": NewAddon([]*BinAsset{
|
||||||
MustBinAsset(
|
MustBinAsset(
|
||||||
|
|
Loading…
Reference in New Issue