Dockerfile for debugging networking in Kubernetes
kubectl run -i --tty --rm debug --image=permutation/kube-debug --restart=Never -- /bin/sh
If istio is used and you want to start the container without sidecar injection
kubectl run -i --tty --rm debug2 --image=permutation/kube-debug --restart=Never \
--overrides='{ "apiVersion": "v1", "metadata": {"annotations": { "sidecar.istio.io/inject":"false" } } }' \
-- /bin/sh