Add Multus with Flannel and SRIOV CNI support
[iec.git] / src / foundation / scripts / cni / multus / use-cases / iperfv2-client-sriov.yaml
diff --git a/src/foundation/scripts/cni/multus/use-cases/iperfv2-client-sriov.yaml b/src/foundation/scripts/cni/multus/use-cases/iperfv2-client-sriov.yaml
new file mode 100644 (file)
index 0000000..b2cc926
--- /dev/null
@@ -0,0 +1,30 @@
+# yamllint disable
+apiVersion: v1
+kind: Pod
+metadata:
+  name: iperfv2-client-sriov
+  labels:
+    app: iperfv2-client-sriov
+  annotations:
+    k8s.v1.cni.cncf.io/networks: sriov-net1
+    #spec:
+    #  replicas: 1
+    #  template:
+    #metadata:
+    #  labels:
+    #    app: iperf-client
+        # ldpreload-related labels
+spec:
+  containers:
+    - image: iecedge/iperf-arm64:latest
+      imagePullPolicy: IfNotPresent
+      name: iperfv2-client-sriov
+      command: ["bash"]
+      args: ["-c", "while true; do sleep 30; done;"]
+      resources:
+        requests:
+          arm.com/ps225_sriov_netdevice: '1'
+        limits:
+          arm.com/ps225_sriov_netdevice: '1'
+#        securityContext:
+#          privileged: true