forked from intel/intel-device-plugins-for-kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compress-perf-dpdk-pod-requesting-qat-dc.yaml
49 lines (49 loc) · 1.2 KB
/
compress-perf-dpdk-pod-requesting-qat-dc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
kind: Pod
apiVersion: v1
metadata:
name: qat-dpdk-test-compress-perf
spec:
containers:
- name: compress-perf
image: intel/crypto-perf:devel
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