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

Previously idxd kernel module instantiated some default DSA devices and workqueues on boot. This is a sample deployment that provisions DSA devices and workqueues for intel-dsa-plugin with accel-config utility through initcontainer. Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
20 lines
434 B
YAML
20 lines
434 B
YAML
apiVersion: apps/v1
|
|
kind: DaemonSet
|
|
metadata:
|
|
name: intel-dsa-plugin
|
|
spec:
|
|
template:
|
|
spec:
|
|
initContainers:
|
|
- name: intel-dsa-initcontainer
|
|
image: intel/intel-dsa-initcontainer:devel
|
|
securityContext:
|
|
privileged: true
|
|
volumeMounts:
|
|
- mountPath: /sys/devices
|
|
name: sys-devices
|
|
volumes:
|
|
- name: sys-devices
|
|
hostPath:
|
|
path: /sys/devices
|