modulepackage
0.0.0-20210512155322-efc67473980d
Repository: https://github.com/shuanglu/k8stcpdump.git
Documentation: pkg.go.dev
# README
k8sTcpdump
Intro
The tool is to use the 'tcpdump' to capture the network trace of the pod
Prerequistes
- The access to create privileged pod
- The access to view the pod you would like to capture
Usage:
- Input the "name" of the pod and "namespace" of the pod to the "xxx.json". Example is "example/test.json"
- 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.
# Packages
Copyright © 2020 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.