intel-device-plugins-for-ku.../deployments/dsa_plugin/overlays/dsa_initcontainer/dsa_initcontainer.yaml
Oleg Zhurakivskyy 3a6aa55858 deployments: dsa: Add DSA accel-config initcontainer
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>
2021-10-01 10:40:24 +03:00

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