Skip to content

Commit 3a6aa55

Browse files
committed
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>
1 parent efb357d commit 3a6aa55

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apiVersion: apps/v1
2+
kind: DaemonSet
3+
metadata:
4+
name: intel-dsa-plugin
5+
spec:
6+
template:
7+
spec:
8+
initContainers:
9+
- name: intel-dsa-initcontainer
10+
image: intel/intel-dsa-initcontainer:devel
11+
securityContext:
12+
privileged: true
13+
volumeMounts:
14+
- mountPath: /sys/devices
15+
name: sys-devices
16+
volumes:
17+
- name: sys-devices
18+
hostPath:
19+
path: /sys/devices
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
bases:
2+
- ../../base
3+
patchesStrategicMerge:
4+
- dsa_initcontainer.yaml

0 commit comments

Comments
 (0)