Karrot Cuts New-Node kube-proxy Initial Sync from 70–90 Seconds to 4–5 Seconds with nftables
·2026.11.24 14:46
Key point
Karrot switched kube-proxy from iptables to nftables, reducing new-node initial sync in its Korea production cluster from 70–90 seconds at peak hours to around 4–5 seconds.
Details
- Karrot switched kube-proxy from iptables to nftables to address slow rule sync that caused service connection failures on new nodes. In its Korea production cluster, new-node initial sync fell from 70–90 seconds at peak hours to around 4–5 seconds.
- In a separate test at about 83,000 NAT rules, restarting kube-proxy took about 66 seconds to complete the first sync with iptables and about 1.3 seconds with nftables. Under overlapping deployments, p99 change propagation latency improved from 84.5 seconds to 6.8 seconds.
- Production peak pending Endpoint changes fell from about 60,000 to 14,000, while latency spikes became less frequent. kube-proxy CPU use roughly doubled and memory use rose about 20%, but overall usage remained low.
- Karrot kept Kubernetes v1.31 to avoid the v1.32-and-later conntrack cleanup regression, which affected both modes; the fix was in v1.36 and unavailable on its EKS v1.34 control plane. The team prepared rollback and operating procedures, then rolled out gradually and monitored production.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.