Capturing container packets from EKS worker nodes using tcpdump

Kieran Yio
4 min readMay 13, 2023

There are times where you will need to troubleshoot a network issue and have to go into the packet detail level to analyse it. To capture the packets, you will usually run tcpdump either at the source or destination, or even both. However, this gets tricky if you are using containers to run your application or microservice, which are deployed to a Kubernetes cluster such as Amazon EKS (Elastic Kubernetes Service), and if the containers might not have tcpdump installed.

--

--

Kieran Yio

Technologist | AWS Community Builder | Sharing my knowledge with the community