Add a http performance test script based on wrk
[iec.git] / src / foundation / scripts / cni / multus / use-cases / iperfv2-client-sriov.yaml
1 # yamllint disable
2 apiVersion: v1
3 kind: Pod
4 metadata:
5   name: iperfv2-client-sriov
6   labels:
7     app: iperfv2-client-sriov
8   annotations:
9     k8s.v1.cni.cncf.io/networks: sriov-net1
10     #spec:
11     #  replicas: 1
12     #  template:
13     #metadata:
14     #  labels:
15     #    app: iperf-client
16         # ldpreload-related labels
17 spec:
18   containers:
19     - image: iecedge/iperf-arm64:latest
20       imagePullPolicy: IfNotPresent
21       name: iperfv2-client-sriov
22       command: ["bash"]
23       args: ["-c", "while true; do sleep 30; done;"]
24       resources:
25         requests:
26           arm.com/ps225_sriov_netdevice: '1'
27         limits:
28           arm.com/ps225_sriov_netdevice: '1'
29 #        securityContext:
30 #          privileged: true