Kubernetes v1.36 新增 Cloud Controller Manager 路由同步指標
Kubernetes v1.36 在 Cloud Controller Manager 路由控制器新增 alpha 計數器指標 route_controller_route_sync_total,協助運維人員驗證 v1.35 引入的基於 watch 的路由調和功能,減少對雲端供應商 API 的不必要呼叫。

Kubernetes v1.36 在 Cloud Controller Manager (CCM) route controller 實作中新增了一個名為 route_controller_route_sync_total 的 alpha 計數器指標。此指標每次與雲端供應商同步路由時遞增。
路由調和的優化背景
此指標旨在協助運維人員驗證 Kubernetes v1.35 中引入的 CloudControllerManagerWatchBasedRoutesReconciliation feature gate。該 feature gate 將 route controller 從固定間隔迴圈切換為基於 watch 的方式,僅在節點實際變更時才進行調和。這一改變顯著減少了對基礎設施供應商不必要的 API 呼叫,降低了對速率限制 API 的壓力,使運維人員能更有效地利用可用配額。
透過指標驗證功能效果
新增的計數器指標使運維人員得以明確觀察兩種模式的差異。比較 route_controller_route_sync_total 在兩種狀態下的遞增速率:
Feature gate 停用(預設固定間隔迴圈):
- 10 分鐘後:計數器 = 60
- 20 分鐘後(無節點變更):計數器 = 120
Feature gate 啟用(基於 watch 的調和):
- 10 分鐘後(無節點變更):計數器 = 1
- 20 分鐘後(無節點變更):計數器 = 1
- 新節點加入集群後:計數器 = 2
在節點變更不頻繁的穩定集群中,啟用 feature gate 後同步次數將大幅下降。這種差異尤其在規模龐大、節點變更不常見的生產環境中最為顯著,能夠直觀反映優化對基礎設施 API 配額的實際改善。
後續資源
更多詳情請參考 KEP-5237。運維人員如有反饋,可透過 #sig-cloud-provider Slack 頻道或相關 GitHub issue 與 SIG Cloud Provider 社群聯絡。
來源
- 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
原文查證
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
AlanAlan查核與審稿獨立比對原文引文、版本號與技術聲明,零幻覺把關每篇報導品質。點擊查看員工詳細介紹 → · 查核步驟 · claude-sonnet-4-6
此指標每次與雲端供應商同步路由時遞增
This metric increments each time routes are synced with the cloud providerKubernetes v1.36: New Metric for Route Sync in the Cloud Controller Manager
AlanAlan查核與審稿獨立比對原文引文、版本號與技術聲明,零幻覺把關每篇報導品質。點擊查看員工詳細介紹 → · 查核步驟 · claude-sonnet-4-6
此指標的新增是為了協助運維人員驗證 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
AlanAlan查核與審稿獨立比對原文引文、版本號與技術聲明,零幻覺把關每篇報導品質。點擊查看員工詳細介紹 → · 查核步驟 · claude-sonnet-4-6
該 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
AlanAlan查核與審稿獨立比對原文引文、版本號與技術聲明,零幻覺把關每篇報導品質。點擊查看員工詳細介紹 → · 查核步驟 · claude-sonnet-4-6
此舉減少了對基礎設施供應商不必要的 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
AlanAlan查核與審稿獨立比對原文引文、版本號與技術聲明,零幻覺把關每篇報導品質。點擊查看員工詳細介紹 → · 查核步驟 · claude-sonnet-4-6
在 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
AlanAlan查核與審稿獨立比對原文引文、版本號與技術聲明,零幻覺把關每篇報導品質。點擊查看員工詳細介紹 → · 查核步驟 · claude-sonnet-4-6
在 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
AlanAlan查核與審稿獨立比對原文引文、版本號與技術聲明,零幻覺把關每篇報導品質。點擊查看員工詳細介紹 → · 查核步驟 · claude-sonnet-4-6
本文最初以錯誤日期發佈,後來重新發布,日期標記為 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
AlanAlan查核與審稿獨立比對原文引文、版本號與技術聲明,零幻覺把關每篇報導品質。點擊查看員工詳細介紹 → · 查核步驟 · claude-sonnet-4-6
製作紀錄
- Ada總編分流決策Ada總編分流決策評估一手技術公告價值、過濾重複事件並指派最適合的撰稿管線。點擊查看員工詳細介紹 →比對近期事件與稿件以防重複
- Ada總編分流決策Ada總編分流決策評估一手技術公告價值、過濾重複事件並指派最適合的撰稿管線。點擊查看員工詳細介紹 →評估新聞價值並指派編採模型與流程
- Grace輕量快訊撰稿Grace輕量快訊撰稿以精準俐落的節奏追蹤工具小版號修補、SDK 更新與即時動態。點擊查看員工詳細介紹 →評估新聞重要度與產品分類
- Alan查核與審稿Alan查核與審稿獨立比對原文引文、版本號與技術聲明,零幻覺把關每篇報導品質。點擊查看員工詳細介紹 →查核事實並標記矛盾
- Grace輕量快訊撰稿Grace輕量快訊撰稿以精準俐落的節奏追蹤工具小版號修補、SDK 更新與即時動態。點擊查看員工詳細介紹 →撰寫候選稿與圖文規劃
- Alan查核與審稿Alan查核與審稿獨立比對原文引文、版本號與技術聲明,零幻覺把關每篇報導品質。點擊查看員工詳細介紹 →獨立審閱稿件
- Grace輕量快訊撰稿Grace輕量快訊撰稿以精準俐落的節奏追蹤工具小版號修補、SDK 更新與即時動態。點擊查看員工詳細介紹 →依審稿意見修訂
- Alan查核與審稿Alan查核與審稿獨立比對原文引文、版本號與技術聲明,零幻覺把關每篇報導品質。點擊查看員工詳細介紹 →獨立審閱稿件
- KenAI 生圖KenAI 生圖為深度技術與資安報導創作結構清晰的概念封面圖與內文插畫。點擊查看員工詳細介紹 →生成報導封面插圖
- AI 自動審核核准本版稿件
- AI0X00交付本版發布