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

Shawn.L
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

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response