Rubberduck is a lightweight container (Alpine based) which installs a set of utilities which are handy while debugging issues in a container environment.
It also ships with an small Golang binary which runs a bare-bones API server.
kubectl run -i --tty --rm debug --image=mrkaran/rubberduck:latest --restart=Never -- sh
Spawns a pod in your namespace, gives access to all required tools to inspect networking issues and on exit it dies. This image is meant to be used for debugging purposes like these only.
List of utilities installed in the container:
- iftop
- drill
- strace
- curl
- iperf
- nmap
- conntrack-tools
- bash
- jq
- vim
- nano
- tree
- ca-certificates
- bind-tools
Run kubectl apply -f k8s/
- Creates a Namespace named
rubberduck. - Creates a Deployment resource, which runs
3replicas ofrubberduckpod. - Exposes port
8080onrubberduckcontainer port using the service typeNodePortinside the cluster.
