Debug container with miscellaneous net tools and aws cli for troubleshooting.
3.3K
A docker image with multiple linux network tools and aws cli pre-installed, for troubleshooting and testing purposes. The image is as slim as possible (<100 MB), and you can deploy it to docker daemon, or Kubernetes.
The following tools are installed:
ping, nestat, nc, nmap etc.curl, wget etc.dig, host, nslookup etc.tcpdump, tcptraceroute etc.Simple case:
kubectl run -it debugger --image=pseudorandomized/pod-debugger bash
If you wish to test a Service Account (or any other override to the pod manifest), you can use something like the following:
kubectl run -it debugger --image=pseudorandomized/pod-debugger --overrides='{ "spec": { "serviceAccount": "your-sa-here" } }' bash
apiVersion: v1
kind: Pod
metadata:
name: debug-pod
spec:
containers:
- name: app
image: pseudorandomized/pod-debugger:latest
securityContext:
privileged: true
# serviceAccountName: ...
# automountServiceAccountToken: false
And open a terminal in the pod by:
kubectl exec -it debug-pod bash
Content type
Image
Digest
sha256:f8315507f…
Size
90.3 MB
Last updated
over 3 years ago
docker pull pseudorandomized/pod-debugger