Kubernetes pod debugging container with network and database tools
1.4K
Kubernetes pod debugging container packed with network, system, and database tools.
# As ephemeral debug container
kubectl debug <pod-name> -it --image=ogulcanaydogan/k8s-debug
# As standalone debug pod
kubectl run debug --rm -it --image=ogulcanaydogan/k8s-debug -- bash
curl, wget, nslookup, dig, traceroute, tcpdump, netcat, iperf3, ip, ss, mtr, ping, telnet, openssl
htop, strace, lsof, ps, top, vim, less, tree, file
psql (PostgreSQL), mysql (MySQL/MariaDB), redis-cli (Redis)
kubectl, jq, yq
| Command | Description |
|---|---|
dns-check <host> | DNS lookup with nslookup + dig |
port-scan <host> | Scan common ports (22, 80, 443, 3306, 5432...) |
conn-test <host:port> | Test TCP connectivity |
http-test <url> | HTTP request with timing breakdown |
cert-check <host> | Check SSL certificate details |
services:
debug:
image: ogulcanaydogan/k8s-debug
command: ["conn-test", "db:5432"]
network_mode: "service:app"
MIT
Content type
Image
Digest
sha256:ab4d0e1a3…
Size
65.5 MB
Last updated
7 months ago
docker pull ogulcanaydogan/k8s-debug