Sniffing Traffic With Wireshark
Cluster network traffic is encrypted making troubleshooting of possible network issues more complex. Using the sniff plugin you can view the traffic from within. sniff requires Wireshark and ability to export graphical display.
The sniff command will use the first found container unless you pass the -c option to declare which container in the pod to use for traffic monitoring.
$ kubectl krew install sniff nginx-123456-abcd -c webcont
Last updated