Kubernetes v1.36 Adds Cloud Controller Manager Route Sync Metric
Kubernetes v1.36 introduces the alpha counter metric route_controller_route_sync_total in the Cloud Controller Manager route controller, helping operators validate the watch-based route reconciliation feature introduced in v1.35 and reduce unnecessary calls to cloud provider APIs.

Kubernetes v1.36 adds an alpha counter metric named route_controller_route_sync_total to the Cloud Controller Manager (CCM) route controller implementation. This metric increments each time a route synchronization with the cloud provider occurs.
Background: Optimizing Route Reconciliation
This metric is designed to help operators validate the CloudControllerManagerWatchBasedRoutesReconciliation feature gate introduced in Kubernetes v1.35. That feature gate switches the route controller from a fixed-interval loop to a watch-based approach, performing reconciliation only when nodes actually change. This change significantly reduces unnecessary API calls to infrastructure providers, eases pressure on rate-limited APIs, and enables operators to make more effective use of available quota.
Validating Feature Effectiveness with the Metric
The new counter metric gives operators a clear way to observe the difference between the two modes. Compare the increment rate of route_controller_route_sync_total under each state:
Feature gate disabled (default fixed-interval loop):
- After 10 minutes: counter = 60
- After 20 minutes (no node changes): counter = 120
Feature gate enabled (watch-based reconciliation):
- After 10 minutes (no node changes): counter = 1
- After 20 minutes (no node changes): counter = 1
- After a new node joins the cluster: counter = 2
In stable clusters where node changes are infrequent, enabling the feature gate results in a dramatic drop in sync count. This difference is most pronounced in large-scale production environments where node changes are rare, and provides a concrete view of the optimization's real-world impact on infrastructure API quota consumption.
Further Resources
For more details, refer to KEP-5237. Operators with feedback can reach the SIG Cloud Provider community via the #sig-cloud-provider Slack channel or related GitHub issues.
Sources
- Beyond CPU Utilization: Using PSI to Diagnose Kubernetes Resource Contention
- Kubernetes v1.36: Server-Side Sharded List and Watch
- Kubernetes v1.36: More Drivers, New Features, and the Next Era of DRA
- Kubernetes v1.36: Moving Volume Group Snapshots to GA
- Kubernetes v1.36: PSI Metrics for Kubernetes Graduates to GA
- Kubernetes v1.36: Advancing Workload-Aware Scheduling
- Kubernetes v1.36: Deprecation and removal of Service ExternalIPs
- Kubernetes v1.36: Mixed Version Proxy Graduates to Beta
- Kubernetes v1.36: New Metric for Route Sync in the Cloud Controller Manager
Source evidence
Kubernetes v1.36 在 Cloud Controller Manager (CCM) route controller 實作中新增了一個名為 route_controller_route_sync_total 的 alpha 計數器指標
Kubernetes v1.36 introduces a new alpha counter metric route_controller_route_sync_total to the Cloud Controller Manager (CCM) route controller implementation at k8s.io/cloud-providerKubernetes v1.36: New Metric for Route Sync in the Cloud Controller Manager
此指標每次與雲端供應商同步路由時遞增
This metric increments each time routes are synced with the cloud providerKubernetes v1.36: New Metric for Route Sync in the Cloud Controller Manager
此指標的新增是為了協助運維人員驗證 Kubernetes v1.35 中引入的 CloudControllerManagerWatchBasedRoutesReconciliation feature gate
This metric was added to help operators validate the CloudControllerManagerWatchBasedRoutesReconciliation feature gate introduced in Kubernetes v1.35Kubernetes v1.36: New Metric for Route Sync in the Cloud Controller Manager
該 feature gate 將 route controller 從固定間隔迴圈切換為基於 watch 的方式,僅在節點實際變更時才進行調和
That feature gate switches the route controller from a fixed-interval loop to a watch-based approach that only reconciles when nodes actually changeKubernetes v1.36: New Metric for Route Sync in the Cloud Controller Manager
此舉減少了對基礎設施供應商不必要的 API 呼叫,降低了對速率限制 API 的壓力
This reduces unnecessary API calls to the infrastructure provider, lowering pressure on rate-limited APIs and allowing operators to make more efficient use of their available quotaKubernetes v1.36: New Metric for Route Sync in the Cloud Controller Manager
在 feature gate 停用(預設固定間隔迴圈)的情況下,計數器無論是否有節點變更都會穩定遞增
With the feature gate disabled (the default fixed-interval loop), the counter increments steadily regardless of whether any node changes occurredKubernetes v1.36: New Metric for Route Sync in the Cloud Controller Manager
在 feature gate 啟用(watch-based reconciliation)的情況下,計數器僅在節點實際新增、移除或更新時才遞增
With the feature gate enabled (watch-based reconciliation), the counter only increments when nodes are actually added, removed, or updatedKubernetes v1.36: New Metric for Route Sync in the Cloud Controller Manager
本文最初以錯誤日期發佈,後來重新發布,日期標記為 2026 年 5 月 15 日
This article was originally published with the wrong date. It was later republished, dated the 15th of May 2026Kubernetes v1.36: New Metric for Route Sync in the Cloud Controller Manager
How this article was made
- MargaretTranslatorMargaretTranslatorMaintains exact semantic parity across Traditional Chinese and English editions.View full profile →Translated article and captions
- AlanReviewerAlanReviewerIndependently verifies claims, version numbers, and direct quotes before publication.View full profile →Independently reviewed the draft
- AI Review GateApproved this revision
- AI0X00Delivered this revision for publication