X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=src%2Ffoundation%2Fscripts%2Fcni%2Fmultus%2Fuse-cases%2Fiperfv2-client-sriov.yaml;fp=src%2Ffoundation%2Fscripts%2Fcni%2Fmultus%2Fuse-cases%2Fiperfv2-client-sriov.yaml;h=b2cc9264ec840366989a0da38a6750cf70e28877;hb=77d0bc5c8e9b9ebcab9f3503db8ee12a404d15c9;hp=0000000000000000000000000000000000000000;hpb=76fb944a515d7dbc9d1a915955a06b05928e8905;p=iec.git diff --git a/src/foundation/scripts/cni/multus/use-cases/iperfv2-client-sriov.yaml b/src/foundation/scripts/cni/multus/use-cases/iperfv2-client-sriov.yaml new file mode 100644 index 0000000..b2cc926 --- /dev/null +++ b/src/foundation/scripts/cni/multus/use-cases/iperfv2-client-sriov.yaml @@ -0,0 +1,30 @@ +# yamllint disable +apiVersion: v1 +kind: Pod +metadata: + name: iperfv2-client-sriov + labels: + app: iperfv2-client-sriov + annotations: + k8s.v1.cni.cncf.io/networks: sriov-net1 + #spec: + # replicas: 1 + # template: + #metadata: + # labels: + # app: iperf-client + # ldpreload-related labels +spec: + containers: + - image: iecedge/iperf-arm64:latest + imagePullPolicy: IfNotPresent + name: iperfv2-client-sriov + command: ["bash"] + args: ["-c", "while true; do sleep 30; done;"] + resources: + requests: + arm.com/ps225_sriov_netdevice: '1' + limits: + arm.com/ps225_sriov_netdevice: '1' +# securityContext: +# privileged: true