Conntrack stats on node k8s-debug
Check per-CPU conntrack drops/insert_failed; nf_conntrack table exhaustion drops packets
kubectl debug node/<node> -it --image=nicolaka/netshoot -- conntrack -S
more k8s-debug
all 27 commands →
In-cluster DNS resolution test
kubectl run dnstest --rm -it --image=nicolaka/netshoot --restart=Never -- dig +short <name>.<ns>.svc.cluster.local
Ordered events for a pod
kubectl events --for pod/<pod> -n <ns> --types=Warning
Previous crash logs with timestamps
kubectl logs <pod> -n <ns> -c <name> --previous --timestamps --tail=200
Ephemeral debug container
kubectl debug -it <pod> --image=nicolaka/netshoot -n <ns>
Node resource usage
kubectl top nodes