Add SRIOV and QAT device plugin deploy components
[icn.git] / deploy / kud-plugin-addons / device-plugins / qat / test / test.yaml
diff --git a/deploy/kud-plugin-addons/device-plugins/qat/test/test.yaml b/deploy/kud-plugin-addons/device-plugins/qat/test/test.yaml
new file mode 100644 (file)
index 0000000..0aa1126
--- /dev/null
@@ -0,0 +1,33 @@
+kind: Pod
+apiVersion: v1
+metadata:
+  name: dpdk2
+spec:
+  containers:
+  - name: dpdkcontainer
+    image: crypto-perf:devel
+    imagePullPolicy: IfNotPresent
+    command: [ "/bin/bash", "-c", "--" ]
+    args: [ "while true; do sleep 300000; done;" ]
+    volumeMounts:
+    - mountPath: /dev/hugepages
+      name: hugepage
+    resources:
+      requests:
+        cpu: "3"
+        memory: "1Gi"
+        qat.intel.com/generic: '2'
+        hugepages-2Mi: "1Gi"
+      limits:
+        cpu: "3"
+        memory: "1Gi"
+        qat.intel.com/generic: '2'
+        hugepages-2Mi: "1Gi"
+    securityContext:
+      capabilities:
+        add:
+          ["IPC_LOCK"]
+  volumes:
+  - name: hugepage
+    emptyDir:
+      medium: HugePages