Upgrade Multus/SRIOV/SRIOV DP to Latest Revision
[iec.git] / src / foundation / scripts / cni / multus / latest / pod2.yaml
diff --git a/src/foundation/scripts/cni/multus/latest/pod2.yaml b/src/foundation/scripts/cni/multus/latest/pod2.yaml
new file mode 100644 (file)
index 0000000..b7225b5
--- /dev/null
@@ -0,0 +1,23 @@
+# yamllint disable
+# An example of Pod spec using above SR-IOV CRD:
+apiVersion: v1
+kind: Pod
+metadata:
+  name: testpod2
+  labels:
+    env: test
+  annotations:
+    k8s.v1.cni.cncf.io/networks: sriov-net1
+spec:
+  containers:
+  - name: appcntr2
+    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'
+