You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The /dev/dri host directory needs to be mounted into a pod so that the integrated GPU can be used from within a pod, e.g. via the onnxruntime OpenVINOExecutionProvider. An attempt to mount causes an "invalid volume specification" by kubelet. The reason is that the i915 driver creates files with a ":" in filenames, e.g. /dev/dri/by-path/pci-0000:00:02.0-card.
It is possible to delete the by-path subdirectory without any obvious impact, but after a node reboot the i915 driver re-creates the directory.
To reproduce:
Kubernetes v1.26.2
cri-docker 0.3.1
docker 24.0.5
The
/dev/dri
host directory needs to be mounted into a pod so that the integrated GPU can be used from within a pod, e.g. via the onnxruntime OpenVINOExecutionProvider. An attempt to mount causes an "invalid volume specification" by kubelet. The reason is that the i915 driver creates files with a ":" in filenames, e.g./dev/dri/by-path/pci-0000:00:02.0-card
.It is possible to delete the
by-path
subdirectory without any obvious impact, but after a node reboot the i915 driver re-creates the directory.To reproduce:
Kubernetes v1.26.2
cri-docker 0.3.1
docker 24.0.5
Example manifest:
Error reported with
kubectl describe pod test-dri-mount
:Directory /dev/dri:
The text was updated successfully, but these errors were encountered: