intel-device-plugins-for-ku.../deployments/qat_dpdk_app/compress-perf/compress-perf-dpdk-pod-requesting-qat-dc.yaml
Tuomas Katila 770172537e images: set 0.31.0 tag for the release
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2024-09-27 10:03:51 +03:00

50 lines
1.2 KiB
YAML

kind: Pod
apiVersion: v1
metadata:
name: qat-dpdk-test-compress-perf
spec:
containers:
- name: compress-perf
image: intel/crypto-perf:0.31.0
imagePullPolicy: IfNotPresent
env:
- name: TESTCMD
value: "compress"
- name: PTEST
value: "--driver-name compress_qat --input-file /var/data/file.txt --seg-sz 8192 --compress-level 1:1:9 --num-iter 10 --extended-input-sz 1048576 --max-num-sgl-segs 16 --huffman-enc fixed"
volumeMounts:
- mountPath: /dev/hugepages
name: hugepage
- mountPath: /var/run/dpdk
name: dpdk-runtime
- mountPath: /var/data/
name: testfile
resources:
requests:
cpu: "3"
memory: "128Mi"
qat.intel.com/dc: '4'
hugepages-2Mi: "128Mi"
limits:
cpu: "3"
memory: "128Mi"
qat.intel.com/dc: '4'
hugepages-2Mi: "128Mi"
securityContext:
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
add:
["IPC_LOCK"]
restartPolicy: Never
volumes:
- name: dpdk-runtime
emptyDir:
medium: Memory
- name: hugepage
emptyDir:
medium: HugePages
- name: testfile
configMap:
name: test-data