Summary
Hi everyone, my team just recovered from a GKE incident triggered by a GKE control plane upgrade. Our observation so far points to a bug somewhere from anetd cni-writer. Does anyone have similar experience or can suggest a reference material on this topic?
- GKE’s anetd cni-writer
v0.1.40-gke.6lowers a node’s MTU by 80 bytes on every anetd restart. - Pods created earlier keep the larger MTU, and their full-size packets vanish.
- We recover by recreating pods that predate anetd restart, then replace every node to reset the MTU to baseline.
- Current measures my team is taking: monitor anetd pods for any restart/delete. Every node is fresh at 1460, so one anetd restart drops that node MTU to 1380 while its running pods keep 1460. We observe that mismatch to be the outage.
The suspected bug, step-by-step:
- A fresh node starts at MTU 1460: NIC, CNI configuration, host-side pod interfaces, and pod eth0. WireGuard cilium_wg0 is 1380, leaving 80 bytes for encryption.
- Every anetd pod start reruns its cni-writer init container. Control-plane upgrades roll anetd on every node, including pools with node auto-upgrade off.
- cni-writer reads cilium_wg0 (1380) as the base MTU and writes it as the CNI pod MTU.
- Host-side pod interfaces shrink to 1380. Running pods keep eth0 at 1460 and send packets the host side drops, with no ICMP back. Large replies stall; clients time out.
- Cilium subtracts 80 from the smaller base: WireGuard becomes 1300. The next restart copies 1300, and so on.
Logs
cni-writer logs from production anetd pods, 2026-10-25
# anetd-9j66s on 3fc1dd1c-6nrh, second anetd start on this node
I1025 19:18:02.916461 cni_writer.go:378] Checking priority interface "cilium_wg0" for MTU.
I1025 19:18:02.916725 cni_writer.go:383] Using MTU 1380 obtained from priority interface cilium_wg0
I1025 19:18:02.916738 cni_writer.go:518] Successfully determined and cached MTU: 1380 (from cilium_wg0)
# anetd-cdmvs on 521c6876-gk4s
I1025 19:04:35.214705 cni_writer.go:383] Using MTU 1220 obtained from priority interface cilium_wg0
# anetd-l8mf6 on 56b8fd8a-mdxw, control-plane upgrade roll
I1025 17:23:25.846768 cni_writer.go:383] Using MTU 1300 obtained from priority interface cilium_wg0
Appendix 1: System Information
GKE in Google Cloud spawned 2 months ago.
| Fact | Value |
|---|---|
| Cluster | Dataplane V2 with WireGuard inter-node encryption (UDP 51871) |
| Versions | control plane and all live pools 1.35.8-gke.1796000, channel REGULAR (changed to STABLE during this incident) |
| Maintenance | daily window 16:00 UTC for 4 h; data pools have node auto-upgrade off |
| anetd images | cni-writer v0.1.40-gke.6, cilium v1.18.7-gke1.35-gke.39 |