Karrot Cuts Istio xDS Delays by Removing Unnecessary Pushes
Key point
Karrot cut average Istio config-send time from 1,051 ms to 10 ms in a 2.5-hour comparison; later API rollouts had no repeat UF/URX 503s.
Details
- Karrot's SRE team reduced unnecessary Istio xDS pushes while investigating deployment-time 503s; later rollouts of the same API showed no further UF/URX-marked 503s in caller-side Envoy metrics.
- One source was a controller that rewrote
Sidecaregress host lists in different orders; Istio treated those order-only changes as config changes. - Another source was Prometheus-only headless Services triggering mesh config pushes when endpoint addresses changed. Marking scrape-only Services with
networking.istio.io/exportTo: "~"kept Kubernetes endpoint discovery and Prometheus scraping while stopping EDS and full pushes to mesh proxies.
Production results
- In a 2.5-hour comparison, one istiod instance's full pushes fell from 8,630 to 78, and average config-send time, including queue time, dropped from 1,051 ms to 10 ms.
- Across 12 istiod pods, average total CPU use fell from 82 cores to 5.4 cores. Sends taking more than five seconds fell from about 7,400 per million to about three per million, and more than 99% of sends after the change finished within 100 ms.
Diagnostic limits
pilot_proxy_convergence_timemeasured istiod's send-side processing time, not whether Envoy received or applied the update.- Failure logs lacked destination IPs, so the team could not confirm whether failed requests went to terminating pods or establish delayed endpoint updates as the direct cause of the 503s.
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.