mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
vpu: mount myd_ion device for topology hints to work
Previously, /dev/ion device was just arbitrary string and the plugin did not need the device for anything. After adding the checks for topology hints, the device node must be bind mounted in the plugin container. Signed-off-by: Alek Du <alek.du@intel.com>
This commit is contained in:
parent
8267074202
commit
8798201bac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user