Confirm egress route and ARP troubleshooting
Show actual src/iface for a dest; FAILED neigh entries = L2/ARP problem
ip route get <ip>; ip neigh show | grep -E 'FAILED|INCOMPLETE'
more troubleshooting
all 32 commands →
TCP port reachability past firewall
traceroute -T -p 443 <host>; nc -zv <host> 443
Bypass DNS with curl --resolve
curl -sv --resolve <host>:443:<ip> https://<host>/healthz
In-cluster DNS smoke test
kubectl run dnsutils --image=tutum/dnsutils -it --rm --restart=Never -- nslookup kubernetes.default
Query CoreDNS directly
dig +short @$(kubectl -n kube-system get svc kube-dns -o jsonpath='{.spec.clusterIP}') <name>.<ns>.svc.cluster.local
Inspect CoreDNS config and logs
kubectl -n kube-system get cm coredns -o yaml; kubectl -n kube-system logs deploy/coredns --tail=50