Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teambion/kshark
Kubectl plugin which is capturing packages from pods
https://github.com/teambion/kshark
Last synced: 9 days ago
JSON representation
Kubectl plugin which is capturing packages from pods
- Host: GitHub
- URL: https://github.com/teambion/kshark
- Owner: TeamBion
- Created: 2021-07-25T16:06:01.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-04T21:41:07.000Z (over 2 years ago)
- Last Synced: 2023-03-06T22:48:02.964Z (almost 2 years ago)
- Language: Python
- Size: 6.17 MB
- Stars: 22
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
kshark
A kubectl plugin that allows us to gather network information with tcpdump command without no binary injection on your pods.
This plugin use the debug containers to inject your pods and gather tcpdump data.
# Usage
This the current example usage of kubectl shark command.This command allows us to run different kind a analysis on wireshark.
```sh
kubectl shark -p -n kube-system -i eth0
```## Usage
If you want to run debug containers on your Kubernetes cluster you need to enable FeatureGates on your components shown as below on api-server and controller-manager.```yaml
...
...
--feature-gates=EphemeralContainers=true
```
### In EKS;
EKS allows us to use debug with the newer versions on Kubernetes so that ability will be managed kubernetes users.## Installation
kubectl-shark has got very simple installation type like shown as below;
```sh
pip3 install . --upgrade
```