https://github.com/techwolf12/debug-container
Debug container with handy tools for those late night Kubernetes moments.
https://github.com/techwolf12/debug-container
debugging kubernetes
Last synced: 3 months ago
JSON representation
Debug container with handy tools for those late night Kubernetes moments.
- Host: GitHub
- URL: https://github.com/techwolf12/debug-container
- Owner: Techwolf12
- Created: 2024-06-10T18:21:06.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-03-06T20:58:33.000Z (3 months ago)
- Last Synced: 2025-03-20T06:47:50.910Z (3 months ago)
- Topics: debugging, kubernetes
- Language: Dockerfile
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# debug-container
[](https://artifacthub.io/packages/search?repo=techwolf12-debug-container)Debug docker container that has a few tools for k8s debugging.
Feel free to open a issue if you want a tool in here.## Node specific
- `/tools/pid2pod ` - Find pod that has PID on node debug
- `/tools/inotify-consumers` - Get inotify consumers.
- `ps` - To check processes on the node.## Generic
- `iperf` - Network performance testing
- `ab` - Apache Benchmark for load testing
- `google-cloud-cli` - CLI for talking with GCloud
- `speedtest-cli` - Speedtest CLI for testing network speed
- `curl` - The must have for any debug container, making random network requests inside your container
- `/tools/grpc-client-cli` - For making GRPC requests# Debugging a specfic node
```
kubectl debug -it node/NODE_NAME --image-pull-policy=Always --image=ghcr.io/techwolf12/debug-container:latest
```# Just as a quick run
```
kubectl run techwolf12-debug --rm --restart=Never --image-pull-policy=Always -it --image=ghcr.io/techwolf12/debug-container:latest -- /bin/bash
```