https://github.com/andriisoldatenko/debug
Debug docker image for troubleshoot inside k8s
https://github.com/andriisoldatenko/debug
Last synced: about 2 months ago
JSON representation
Debug docker image for troubleshoot inside k8s
- Host: GitHub
- URL: https://github.com/andriisoldatenko/debug
- Owner: andriisoldatenko
- License: mit
- Created: 2024-01-04T13:12:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-14T12:05:49.000Z (3 months ago)
- Last Synced: 2025-03-29T19:09:08.088Z (2 months ago)
- Language: Dockerfile
- Size: 43.9 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://hub.docker.com/r/asoldatenko/debug/)
[](https://hub.docker.com/r/asoldatenko/debug/)
[](https://hub.docker.com/r/asoldatenko/debug/)# debug
Debug docker image for troubleshooting/debugging inside k8s* Build/code: `build-base git go bash bash-completion ncurses vim tmux jq`
* Network: `bind-tools iputils tcpdump curl nmap tcpflow iftop net-tools mtr netcat-openbsd bridge-utils iperf ngrep`
* Databases: `sqlite`
## Run k8s debug pod:```bash
kubectl debug -it -n demo \
sample-app --target=sample-debug \
--image=asoldatenko/debug \
--share-processes -- sh
```## Debug node
```bash
kubectl debug node/ -it --image=asoldatenko/debug
```# TODO:
- add more from https://github.com/raesene/alpine-containertools
- https://github.com/nicolaka/netshoot
- https://github.com/arunvelsriram/utils
- https://github.com/digitalocean/doks-debug
- https://github.com/lightrun-platform/koolkits?tab=readme-ov-file#readme
- reduce size of the image :_
- add more tools :_