Skip to content

Commit ffc2ce9

Browse files
doc, qat: update document
default qat.conf file does not exist any more. Update it to make user create own conf file or use --from-literal instead. Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
1 parent c37ac00 commit ffc2ce9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cmd/qat_plugin/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,11 @@ In addition to the default configuration, you can add device-specific configurat
139139
To create a provisioning `configMap`, run the following command before deploying initcontainer:
140140

141141
```bash
142-
$ kubectl create configmap --namespace=inteldeviceplugins-system qat-config --from-file=deployments/qat_plugin/overlays/qat_initcontainer/qat.conf
142+
$ kubectl create configmap --namespace=inteldeviceplugins-system qat-config --from-file=/path/to/qat.conf
143+
```
144+
or
145+
```bash
146+
$ kubectl create configmap --namespace=inteldeviceplugins-system --from-literal "qat.conf=ServicesEnabled=<option>" qat-config
143147
```
144148

145149
When using the operator for deploying the plugin with provisioning config, use `provisioningConfig` field for the name of the ConfigMap, then the config is passed to initcontainer through the volume mount.

0 commit comments

Comments
 (0)