Merge pull request #312 from alekdu/fix_vpu_dev_ion

vpu: mount myd_ion device for topology hints to work
This commit is contained in:
Dmitry Rozhkov 2020-03-17 09:38:28 +02:00 committed by GitHub
commit 320725adee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,9 @@ spec:
securityContext:
readOnlyRootFilesystem: true
volumeMounts:
- name: devion
mountPath: /dev/ion
readOnly: true
- name: devfs
mountPath: /dev/bus/usb
readOnly: true
@ -39,6 +42,10 @@ spec:
- name: kubeletsockets
mountPath: /var/lib/kubelet/device-plugins
volumes:
- name: devion
hostPath:
path: /dev/ion
type: CharDevice
- name: devfs
hostPath:
path: /dev/bus/usb