- Deploy iperf3:
kubectl apply -f deploy-iperf3.yaml
- Check Pods, wait until ready:
kubectl get pods -o wide
- Start the server in the first Pod:
# Exec into the Pod 1:
kubectl exec -it iperf3-<pod-1> -- /bin/bash
# Verify Pod IP:
ip addr
# Start the server:
iperf3 -s -p 12345
- Start the client, connecting to the Pod IP of Pod 1:
# Exec into the Pod 2:
kubectl exec -it iperf3-<pod-2> -- /bin/bash
# Start the client:
iperf3 -c <pod-1-ip> -p 12345