Revision ca1af73ffe025e2ebdb6c8cd5b2cfb1909cb3b06 authored by Tim Horner on 13 March 2024, 15:45:55 UTC, committed by Jarno Rajahalme on 13 March 2024, 21:52:50 UTC
Signed-off-by: Tim Horner <timothy.horner@isovalent.com>
1 parent a58e3f4
demo_bw.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: netperf-10
spec:
selector:
matchLabels:
run: netperf-10
replicas: 1
template:
metadata:
labels:
run: netperf-10
annotations:
kubernetes.io/egress-bandwidth: "10M"
spec:
containers:
- name: netperf-10
image: cilium/netperf:0.0.2
imagePullPolicy: IfNotPresent
ports:
- containerPort: 12865
nodeSelector:
"cilium.io/ci-node": k8s1
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: netperf-25
spec:
selector:
matchLabels:
run: netperf-25
replicas: 1
template:
metadata:
labels:
run: netperf-25
annotations:
kubernetes.io/egress-bandwidth: "25M"
spec:
containers:
- name: netperf-25
image: cilium/netperf:0.0.2
imagePullPolicy: IfNotPresent
ports:
- containerPort: 12865
nodeSelector:
"cilium.io/ci-node": k8s1
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: netperf-client-pod
spec:
selector:
matchLabels:
run: netperf-client-pod
replicas: 1
template:
metadata:
labels:
run: netperf-client-pod
spec:
containers:
- name: netperf-client
image: cilium/netperf:0.0.2
imagePullPolicy: IfNotPresent
ports:
- containerPort: 12865
nodeSelector:
"cilium.io/ci-node": k8s2
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: netperf-client-host
spec:
selector:
matchLabels:
run: netperf-client-host
replicas: 1
template:
metadata:
labels:
run: netperf-client-host
spec:
hostNetwork: true
containers:
- name: netperf-client
image: cilium/netperf:0.0.2
imagePullPolicy: IfNotPresent
ports:
- containerPort: 12865
nodeSelector:
"cilium.io/ci-node": k8s2
Computing file changes ...