Skip to content

Commit 2db8dd1

Browse files
committed
device_plugins: Added README for QAT
Added QAT documentation. Signed-off-by: chaitanya1731 <chaitanya.kulkarni@intel.com>
1 parent 3fc309a commit 2db8dd1

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

device_plugins/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,6 @@ inteldeviceplugins-controller-manager-6b8c76c867-hftqm 2/2 Running 0
3333
```
3434

3535
# Creating Intel Device Plugin custom resource (CR)
36-
- To create an Intel SGX device plugin CR, follow this [link](/device_plugins/deploy_sgx.md):
37-
- To create an Intel GPU device plugin CR, follow this [link](/device_plugins/deploy_gpu.md):
36+
- To create an Intel SGX device plugin CR, follow this [link](/device_plugins/deploy_sgx.md).
37+
- To create an Intel GPU device plugin CR, follow this [link](/device_plugins/deploy_gpu.md).
38+
- To create an Intel QAT device plugin CR, follow this [link](/device_plugins/deploy_qat.md).

device_plugins/deploy_qat.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Create Intel QAT Device Plugin CR
2+
3+
## Create a CR via web console
4+
1. Go to **Operator** -> **Installed Operators**.
5+
2. Open **Intel Device Plugins Operator**.
6+
3. Navigate to tab **Intel QuickAssist Technology Device Plugin**.
7+
4. Click **Create QatDevicePlugin** -> set correct parameters -> Click **Create**
8+
5. Optional: If you want to make any customizations, select YAML view and edit the details. When you are done, click **Create**.
9+
10+
## Verify via web console
11+
1. Verify CR by checking the status of **Workloads** -> **DaemonSet** -> **intel-qat-plugin**.
12+
2. Now `QatDevicePlugin` is created.
13+
14+
## Create CR via CLI
15+
Apply the CR yaml file:
16+
```
17+
$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/device_plugins/qat_device_plugin.yaml
18+
```
19+
20+
## Verify via CLI
21+
Verify that the device plugin CR is ready:
22+
```
23+
$ oc get QatDevicePlugin
24+
```
25+
Output:
26+
```
27+
NAME DESIRED READY NODE SELECTOR AGE
28+
qatdeviceplugin-sample 1 1 {"intel.feature.node.kubernetes.io/qat":"true"} 3h27m
29+
```

0 commit comments

Comments
 (0)