An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

![](https://github.com/andriisoldatenko/debug/actions/workflows/docker-publish.yml/badge.svg)
[![Docker Pulls](https://badgen.net/docker/pulls/asoldatenko/debug?icon=docker&label=pulls)](https://hub.docker.com/r/asoldatenko/debug/)
[![Docker Stars](https://badgen.net/docker/stars/asoldatenko/debug?icon=docker&label=stars)](https://hub.docker.com/r/asoldatenko/debug/)
[![Docker Image Size](https://badgen.net/docker/size/asoldatenko/debug?icon=docker&label=image%20size)](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 :_