This Kubernetes Pod descriptor will deploy a pod to your kubernetes cluster.
It contains common network troubleshooting tools:
- dig
- netcat
- curl
- nslookup
Run the following in a terminal:
kubectl apply -f https://gist.githubusercontent.com/robgmills/9beeb901d94de3a1be43ef00d63510aa/raw/netbox.yaml && \
kubectl exec -it -n default netbox -- /bin/bash && \
kubectl delete pod -n default netboxOr, add the following to your .bashrc or .zshrc:
function debugk() {
kubectl apply -f https://gist.githubusercontent.com/robgmills/9beeb901d94de3a1be43ef00d63510aa/raw/netbox.yaml && \
kubectl exec -it -n default netbox -- /bin/bash && \
kubectl delete pod -n default netbox
}And call it like so:
debugk