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