X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=src%2Ffoundation%2Fscripts%2Fcni%2Fmultus%2Flatest%2Fpod1.yaml;fp=src%2Ffoundation%2Fscripts%2Fcni%2Fmultus%2Flatest%2Fpod1.yaml;h=23347956a10896374a666e92a8e9bed1a1e0d484;hb=0a098643ff6187702bb9c971c7d3baabcb08bf42;hp=0000000000000000000000000000000000000000;hpb=5e8e332ce38f771991f443fd9114f6f997ad1f89;p=iec.git diff --git a/src/foundation/scripts/cni/multus/latest/pod1.yaml b/src/foundation/scripts/cni/multus/latest/pod1.yaml new file mode 100644 index 0000000..2334795 --- /dev/null +++ b/src/foundation/scripts/cni/multus/latest/pod1.yaml @@ -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' +