Skip to content

Commit 30ebc8e

Browse files
committed
dsa: Add a documentation on provisioning with initcontainer
Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
1 parent 94a13fc commit 30ebc8e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

cmd/dsa_plugin/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ The DSA device plugin for Kubernetes supports acceleration using the Intel Data
2121

2222
The DSA plugin discovers DSA work queues and presents them as a node resources.
2323

24+
The DSA plugin and operator optionally support provisioning of DSA devices and workqueues with the help of [accel-config](https://github.com/intel/idxd-config) utility through initcontainer.
25+
2426
## Installation
2527

2628
The following sections detail how to obtain, build, deploy and test the DSA device plugin.
@@ -46,6 +48,16 @@ Where `<REF>` needs to be substituted with the desired git ref, e.g. `main`.
4648

4749
Nothing else is needed. But if you want to deploy a customized version of the plugin read further.
4850

51+
### Deploy with initcontainer
52+
53+
There's a sample [DSA initcontainer](https://github.com/intel/intel-device-plugins-for-kubernetes/blob/master/build/docker/intel-dsa-initcontainer.Dockerfile) included that provisions DSA devices and workqueues (1 engine / 1 group / 1 wq (user/dedicated)), to deploy:
54+
55+
```bash
56+
$ kubectl apply -k deployments/dsa_plugin/overlays/dsa_initcontainer/
57+
```
58+
59+
The provisioning [script](https://github.com/intel/intel-device-plugins-for-kubernetes/blob/master/demo/dsa-init.sh) and [template](https://github.com/intel/intel-device-plugins-for-kubernetes/blob/master/demo/dsa.conf) are available for customization.
60+
4961
### Getting the source code
5062

5163
```bash

0 commit comments

Comments
 (0)