Skip to main content

Troubleshooting a Kubernetes Network

The netshoot image contains many tools to debug network connectivity.

Use caseKubernetes Networking
check TCP/IP connectivityping
check HTTP connectivitycurl
check the status of the networkkubectl or cilium CLI
capture logs from networkkubectl logs
capture traffic patterns and bandwidth usageHubble
analyze network traffictcpdump/Wireshark/Hubble
generate traffic for performance testingiperf

To deploy an ephemeral container:

kubectl debug <pod> -it --image=nicolaka/netshoot -- tcpdump -i eth0