Is there a document on how to get iperf installed on a container? We are running some network diags and this was suggested.
You can use kubectl exec
to get a shell into a running container.
Example using nginx-demo container:
kubectl exec -it nginx-demo -- /bin/bash
apt-get update
apt-get install iperf3 -y
My assumption - your container is based on Ubuntu image. Change commands accordingly if based on a different linux distro.
Thank you Larry. You are correct on that as well! Appreciate it!
1 Like