mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00

In addition to the levelzero's health data use, this adds support to scan devices in WSL. Scanning happens by retrieving Intel device indices from the Level-Zero API. Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
25 lines
511 B
YAML
25 lines
511 B
YAML
- op: add
|
|
path: /spec/template/spec/containers/1/volumeMounts/-
|
|
value:
|
|
name: wsllib
|
|
mountPath: /usr/lib/wsl
|
|
- op: add
|
|
path: /spec/template/spec/containers/0/volumeMounts/-
|
|
value:
|
|
name: devdxg
|
|
mountPath: /dev/dxg
|
|
- op: add
|
|
path: /spec/template/spec/volumes/-
|
|
value:
|
|
name: wsllib
|
|
hostPath:
|
|
path: /usr/lib/wsl
|
|
type: DirectoryOrCreate
|
|
- op: add
|
|
path: /spec/template/spec/volumes/-
|
|
value:
|
|
name: devdxg
|
|
hostPath:
|
|
path: /dev/dxg
|
|
type: CharDevice
|