Merge "Updates for QAT Device Plugin Configuration"

This commit is contained in:
Zuul 2024-10-04 17:46:42 +00:00 committed by Gerrit Code Review
commit 12021a039d

View File

@ -145,15 +145,15 @@ Kubernetes host.
.. code-block::
$ kubectl describe node <node name> | grep qat.intel.com/asym-dc
$ kubectl describe node <node name> | grep qat.intel.com/sym-dc
Capacity:
---
qat.intel.com/asym-dc: 32
qat.intel.com/sym-dc: 32
---
Allocatable:
---
qat.intel.com/asym-dc: 32
qat.intel.com/sym-dc: 32
---
Use Intel QAT Device Plugin
@ -164,7 +164,7 @@ This section describes the steps for using |QAT| device plugin.
#. Deploy a pod using the following sample POD specification file. The pod
specification file can be modified for required resource request and limit.
The ``qat.intel.com/asym-dc: <number of devices>`` field is used to
The ``qat.intel.com/sym-dc: <number of devices>`` field is used to
configure the requested |QAT| virtual functions.
For a |DPDK|-based workload, you may need to add a hugepage request and
@ -194,12 +194,12 @@ This section describes the steps for using |QAT| device plugin.
requests:
cpu: "3"
memory: "128Mi"
qat.intel.com/asym-dc: '4'
qat.intel.com/sym-dc: '4'
hugepages-2Mi: "128Mi"
limits:
cpu: "3"
memory: "128Mi"
qat.intel.com/asym-dc: '4'
qat.intel.com/sym-dc: '4'
hugepages-2Mi: "128Mi"
securityContext:
readOnlyRootFilesystem: true
@ -221,7 +221,7 @@ This section describes the steps for using |QAT| device plugin.
.. code-block::
$ kubectl apply -k qat-dpdk.yaml
$ kubectl apply -f qat-dpdk.yaml
#. Verify the pod status and the allocated |QAT| virtual functions.
@ -236,14 +236,14 @@ This section describes the steps for using |QAT| device plugin.
Requests:
---
qat.intel.com/asym-dc: 4
qat.intel.com/sym-dc: 4
---
$ kubectl describe node <controller-name>
Allocated resources:
---
qat.intel.com/asym-dc: 4
qat.intel.com/sym-dc: 4
---
For more information, see: `Demos and Testing