Skip to content

Shuanglu/k8sTcpdump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

k8sTcpdump

Intro

The tool is to use the 'tcpdump' to capture the network trace of the pod

Prerequistes

  1. The access to create privileged pod
  2. The access to view the pod you would like to capture

Usage:

  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 downoaded to the current folder.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages