A debug toolbox image for Kubernetes clusters. Spin it up as a throwaway pod to troubleshoot networking, databases, Kafka, and the cluster itself without installing anything on the nodes.
Two OS flavors (Ubuntu 24.04 LTS is the default; Debian 13 slim tags carry a
-debian suffix) times two tool sets:
| Variant | OS | Tags | Contents |
|---|---|---|---|
| base | Ubuntu 24.04 | latest, X.Y.Z, X.Y, X |
Slim debug toolbox (tools below) |
| ai | Ubuntu 24.04 | latest-ai, X.Y.Z-ai, X.Y-ai, X-ai |
base + Node.js 24 + Claude Code, Codex, and opencode CLIs |
| base | Debian 13 | latest-debian, X.Y.Z-debian, … |
Same as base |
| ai | Debian 13 | latest-debian-ai, X.Y.Z-debian-ai, … |
Same as ai |
| Tool | Purpose | Variant |
|---|---|---|
kubectl |
Kubernetes CLI | base |
helm |
Kubernetes package manager | base |
stern |
Multi-pod log tailing | base |
psql (postgresql-client) |
PostgreSQL client | base |
redis-cli (redis-tools) |
Redis client | base |
kcat (alias kafkacat) |
Kafka producer/consumer | base |
tmux |
Terminal multiplexer | base |
curl, ping, telnet, dig/nslookup |
Network debugging | base |
htop |
Process viewer | base |
node / npm |
Node.js runtime | ai |
claude |
Claude Code CLI | ai |
codex |
OpenAI Codex CLI | ai |
opencode |
opencode CLI | ai |
Published to the GitHub Container Registry, for linux/amd64 and linux/arm64:
ghcr.io/diogopms/docker-my-tools # base
ghcr.io/diogopms/docker-my-tools:latest-ai # ai variant
The pod is created, attached to your terminal, and deleted when you exit:
kubectl run internal-tools --rm --restart=Never -i --tty \
--image ghcr.io/diogopms/docker-my-tools:latest -- bashDeploy it once and keep it available for troubleshooting. The included
deployment.yaml runs sleep infinity so the container
stays alive and gets rescheduled/restarted automatically if the node or pod
dies:
kubectl apply -f deployment.yaml
kubectl exec -it deploy/diogopms-my-tools -- bashSince tmux is included, you can also keep sessions alive inside the pod
across disconnects:
kubectl exec -it deploy/diogopms-my-tools -- tmux new -A -s debugDeploy to a specific namespace and clean up when done:
kubectl apply -f deployment.yaml -n ops
kubectl exec -it deploy/diogopms-my-tools -n ops -- bash
kubectl delete -f deployment.yaml -n opspod.yaml starts one interactive pod (not restarted if it dies):
kubectl create -f pod.yaml
kubectl exec -it diogopms-my-tools -- bashdocker run --rm -it ghcr.io/diogopms/docker-my-tools:latestdocker build --target base -t docker-my-tools .
docker build --target ai -t docker-my-tools:ai .
# Debian flavor
docker build --target base --build-arg BASE_IMAGE=debian:13-slim -t docker-my-tools:debian .Tool versions are pinned via build args (KUBECTL_VERSION, HELM_VERSION,
STERN_VERSION), and BASE_IMAGE selects the OS flavor (ubuntu:24.04 or
debian:13-slim); override any of them with --build-arg.
- CI (
.github/workflows/ci.yml): every pull request and push tomainlints the Dockerfile (hadolint), builds the image, and smoke-tests the bundled tools. Merging tomainnever publishes an image. - Release (
.github/workflows/release.yml): runs monthly (or manually via Actions → Release → Run workflow). The next version is derived from Conventional Commits since the last tag (feat!:/BREAKING CHANGE→ major,feat:→ minor,fix:→ patch; anything else skips the release). A release creates the git tag, pushes the multi-arch image to ghcr.io, and publishes a GitHub Release with a changelog.