X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=src%2Ffoundation%2Fscripts%2Fcni%2Fmultus%2Fuse-cases%2Fpod1.yaml;fp=src%2Ffoundation%2Fscripts%2Fcni%2Fmultus%2Fuse-cases%2Fpod1.yaml;h=8e5a2927b454e67c9f3a9ec6bfac874ef50e5b83;hb=77d0bc5c8e9b9ebcab9f3503db8ee12a404d15c9;hp=0000000000000000000000000000000000000000;hpb=76fb944a515d7dbc9d1a915955a06b05928e8905;p=iec.git diff --git a/src/foundation/scripts/cni/multus/use-cases/pod1.yaml b/src/foundation/scripts/cni/multus/use-cases/pod1.yaml new file mode 100644 index 0000000..8e5a292 --- /dev/null +++ b/src/foundation/scripts/cni/multus/use-cases/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/ps225_sriov_netdevice: '1' + limits: + arm.com/ps225_sriov_netdevice: '1' +