Interview Prep/Networking/Containers, Kubernetes, IPv6 and packet captures

Pods on one node log `dial tcp 10.96.0.1:443: i/o timeout` when talking to the Kubernetes API, while pods on other nodes are fine.

AdvancedTroubleshootingContainers, Kubernetes, IPv6 and packet captures
Answer

Likely causes → 10.96.0.1 is the kubernetes Service ClusterIP. On that node, Service translation or the path to the control plane is broken: kube-proxy/eBPF dataplane not running or out of sync, the CNI isn't ready, the node's SG/firewall blocks egress to the API endpoint, or conntrack/iptables rules were flushed.

Diagnose →

kubectl get endpoints kubernetes                 # real API server IPs
kubectl -n kube-system get pods -o wide --field-selector spec.nodeName=<node>
# on the node
sudo iptables -t nat -S KUBE-SERVICES | grep 10.96.0.1
curl -k -m 5 https://<apiserver-endpoint-ip>:443/livez

If direct curl to the endpoint IP works from the node but the ClusterIP doesn't, it's the Service dataplane; if neither works, it's network/SG.

Fix → Restart kube-proxy / the CNI agent on the node, restore node SG egress to the control plane, or cordon, drain and replace the node if its state is broken.

Prevent → Monitor kube-proxy and CNI agent health per node, use node auto-repair (managed node groups, Karpenter node replacement), and never run manual iptables -F on cluster nodes.

All Networking questions Roadmap: Networking for DevOps

More on Containers, Kubernetes, IPv6 and packet captures