intel-device-plugins-for-ku.../deployments/qat_dpdk_app/base/crypto-perf-dpdk-pod-requesting-qat.yaml
Mikko Ylinen 725b98b0f1 images: set 0.21.0 tag for the release
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-06-16 13:47:48 +03:00

41 lines
916 B
YAML

kind: Pod
apiVersion: v1
metadata:
name: qat-dpdk
spec:
containers:
- name: crypto-perf
image: intel/crypto-perf:0.21.0
imagePullPolicy: IfNotPresent
command: [ "/bin/bash", "-c", "--" ]
args: [ "while true; do sleep 300000; done;" ]
volumeMounts:
- mountPath: /dev/hugepages
name: hugepage
- mountPath: /var/run/dpdk
name: dpdk-runtime
resources:
requests:
cpu: "3"
memory: "128Mi"
qat.intel.com/generic: '4'
hugepages-2Mi: "128Mi"
limits:
cpu: "3"
memory: "128Mi"
qat.intel.com/generic: '4'
hugepages-2Mi: "128Mi"
securityContext:
readOnlyRootFilesystem: true
capabilities:
add:
["IPC_LOCK", "SYS_ADMIN"]
restartPolicy: Never
volumes:
- name: dpdk-runtime
emptyDir:
medium: Memory
- name: hugepage
emptyDir:
medium: HugePages