You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Renamed `HCLOUD_SERVER_CACHE_TTL` to `HCLOUD_SERVER_CACHE_MAX_AGE`. The server cache lifetime is now configured via `HCLOUD_SERVER_CACHE_MAX_AGE` (default 10s). Individual controllers may override this default for specific lookups — for example, the routes controller uses a longer max age. Action required: if you set `HCLOUD_SERVER_CACHE_TTL`, switch to `HCLOUD_SERVER_CACHE_MAX_AGE`; the old variable is no longer recognized.
8
+
9
+
### Removed
10
+
11
+
Removed the `hcops/AllServersCache.*` operation metrics. The legacy AllServersCache was replaced by the shared server cache, so the following `cloud_controller_manager_operations_total` series labeled op="hcops/AllServersCache.*" are no longer emitted:
12
+
-`hcops/AllServersCache.ByID`
13
+
-`hcops/AllServersCache.ByName`
14
+
-`hcops/AllServersCache.ByPrivateIP`
15
+
-`hcops/AllServersCache.getCache`
16
+
-`hcops/AllServersCache.refreshCache`
17
+
18
+
They are superseded by the new server cache metric `cloud_controller_manager_server_cache_requests_total`, a counter partitioned by subsystem, mode, and result:
19
+
20
+
- subsystem: instances_v2, routes (or none when unset)
This release introduces an experimental server cache to reduce Hetzner Cloud API calls. During an experimental phase, breaking changes on those features may occur within minor releases.
45
+
46
+
The node and node lifecycle controllers look up Servers by ID or name, generating significant API traffic during cluster scaling. A new cache sits between the controllers and the API to serve these lookups, reducing the number of requests.
47
+
48
+
It is enabled by default since we believe the implementation is safe in practice, but is experimental and may see breaking changes within minor releases. Configure it via environment variables:
0 commit comments