Tiny tool to help capture network traces in the pods running in k8s cluster

Nov 10, 2020

Download URL:

  1. Input the “name” of the pod and “namespace” of the pod to the “xxx.json”. Example is “example/test.json
  2. Run “./k8sTcpdump -p xxx.json” and it will bring up pods on the corresponding nodes to capture the network traces of the target pods. The ‘.cap’ file will be downloaded to the current folder.

You could refer to the GIF https://github.com/Shuanglu/k8sTcpdump/blob/main/doc/k8sTcpdump.gif as well