|
1 | 1 | --- |
2 | 2 | layout: blog |
3 | | -title: "New metric in cloud-controller-manager" |
| 3 | +title: "Kubernetes v1.36: New Metric for Route Sync in the Cloud Controller Manager" |
4 | 4 | date: 2026-02-26 |
5 | 5 | slug: ccm-new-metric-route-sync-total |
6 | 6 | author: > |
7 | 7 | [Lukas Metzner](https://github.com/lukasmetzner) (Hetzner) |
8 | 8 | --- |
9 | 9 |
|
10 | | -**draft** |
| 10 | +Kubernetes v1.36 introduces a new alpha counter metric `route_controller_route_sync_total` |
| 11 | +to the Cloud Controller Manager (CCM) route controller implementation at |
| 12 | +[`k8s.io/cloud-provider`](https://github.com/kubernetes/cloud-provider). This metric |
| 13 | +increments each time routes are synced with the cloud provider. |
| 14 | + |
| 15 | +## A/B testing watch-based route reconciliation |
| 16 | + |
| 17 | +This metric was added to help operators validate the |
| 18 | +`CloudControllerManagerWatchBasedRoutesReconciliation` feature gate introduced in |
| 19 | +[Kubernetes v1.35](/blog/2025/12/30/kubernetes-v1-35-watch-based-route-reconciliation-in-ccm/). |
| 20 | +That feature gate switches the route controller from a fixed-interval loop to a watch-based |
| 21 | +approach that only reconciles when nodes actually change. |
| 22 | + |
| 23 | +To A/B test this, compare `route_controller_route_sync_total` with the feature gate |
| 24 | +disabled (default) versus enabled. In clusters where node changes are infrequent, you should |
| 25 | +see a significant drop in the sync rate with the feature gate turned on. |
| 26 | + |
| 27 | +## Where can I give feedback? |
| 28 | + |
| 29 | +If you have feedback, feel free to reach out through any of the following channels: |
| 30 | +- The `#sig-cloud-provider` channel on [Kubernetes Slack](https://slack.k8s.io/) |
| 31 | +- The [KEP-5237 issue](https://kep.k8s.io/5237) on GitHub |
| 32 | + |
| 33 | +## How can I learn more? |
| 34 | + |
| 35 | +For more details, refer to [KEP-5237](https://kep.k8s.io/5237). |
0 commit comments