Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 777 Bytes

Readme.md

File metadata and controls

28 lines (19 loc) · 777 Bytes

Debug-Pod

Simple pod equipped with networking tools, for debugging purposes. Image can be found on Dockerhub.

Running inside Kubernetes

Can be done in a single (albeit long) shell cmd:

kubectl create deploy debug-pod --image=simontheleg/debug-pod:latest && \
kubectl wait --for=condition=ready pod -l app=debug-pod && \
kubectl exec -it $(kubectl get pods -o jsonpath="{.items[?(@.metadata.labels.app=='debug-pod')].metadata.name}") -- /bin/bash

clean up

kubectl delete deploy debug-pod

Building & publishing

docker build -t simontheleg/debug-pod:latest .
docker push simontheleg/debug-pod:latest