Skip to content

Commit 5565b6a

Browse files
committed
Merge branch 'enable_driver_capabilities' into 'master'
Update device-plugin and toolkit validation to work with CPU Manager See merge request nvidia/kubernetes/gpu-operator!171
2 parents ce89332 + f4818f5 commit 5565b6a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

assets/state-device-plugin/0400_device_plugin.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ spec:
3636
command: ['sh', '-c']
3737
args: ["/tmp/vectorAdd"]
3838
securityContext:
39-
allowPrivilegeEscalation: false
39+
privileged: true
4040
containers:
4141
- image: "FILLED BY THE OPERATOR"
4242
name: nvidia-device-plugin-ctr
@@ -45,6 +45,8 @@ spec:
4545
env:
4646
- name: NVIDIA_VISIBLE_DEVICES
4747
value: all
48+
- name: NVIDIA_DRIVER_CAPABILITIES
49+
value: all
4850
volumeMounts:
4951
- name: device-plugin
5052
mountPath: /var/lib/kubelet/device-plugins

0 commit comments

Comments
 (0)