Upgrade Multus/SRIOV/SRIOV DP to Latest Revision
[iec.git] / src / foundation / scripts / cni / multus / latest / pod1.yaml
diff --git a/src/foundation/scripts/cni/multus/latest/pod1.yaml b/src/foundation/scripts/cni/multus/latest/pod1.yaml
new file mode 100644 (file)
index 0000000..2334795
--- /dev/null
@@ -0,0 +1,23 @@
+# yamllint disable
+# An example of Pod spec using above SR-IOV CRD:
+apiVersion: v1
+kind: Pod
+metadata:
+  name: testpod1
+  labels:
+    env: test
+  annotations:
+    k8s.v1.cni.cncf.io/networks: sriov-net1
+spec:
+  containers:
+  - name: appcntr1
+    image: iecedge/centos-tools-arm64
+    imagePullPolicy: IfNotPresent
+    command: [ "/bin/bash", "-c", "--" ]
+    args: [ "while true; do sleep 300000; done;" ]
+    resources:
+      requests:
+       arm.com/82599_sriov_netdevice: '1'
+      limits:
+       arm.com/82599_sriov_netdevice: '1'
+