Interview Prep/Networking/MTU, routing, packet loss and latency

Pods on different nodes can ping each other, but HTTP responses larger than ~1.4 KB never arrive.

AdvancedTroubleshootingMTU, routing, packet loss and latency
Answer

Likely causes → Overlay MTU mismatch: VXLAN adds 50 bytes, Geneve more, but the pod interface MTU is still 1500 on a 1500 underlay. Or the underlay is 1500 while nodes were configured with 9001 jumbo frames on only some hosts.

Diagnose →

kubectl exec pod-a -- ip link show eth0
ip link show flannel.1; ip link show vxlan.calico
kubectl exec pod-a -- ping -M do -s 1422 <pod-b-ip>

Fix → Set the CNI MTU to underlay MTU minus encapsulation overhead (Calico veth_mtu, Cilium --mtu), roll the pods so new veths pick it up.

Prevent → Let the CNI auto-detect MTU where supported, and test a large payload in cluster acceptance tests.

All Networking questions Roadmap: Networking for DevOps

More on MTU, routing, packet loss and latency