Skip to content

Phasing out Datacenters in favor of Locations #1146

@hakman

Description

@hakman

TL;DR

Based on the 2025-12-16 changelog entry, the datacenter property in the request body and response of Servers and Primary IPs is deprecated and the removal will happen after 1 July 2026.
The deprecation already happened in hcloud-go#793.
HCloud CCM should also be updated to reflect this change.

Expected behavior

The current mapping is for K8s topology keys is:

  • topology.kubernetes.io/region: Server.Datacenter.Location.Name -> Server.Location.Name
  • topology.kubernetes.io/zone: Server.Datacenter.Name - no longer exists.

This will be a breaking change, with the DC name not being exposed anymore.

Not quite sure what the best approach is for topology.kubernetes.io/zone:

  • use Server.Location.Name
  • drop the topology.kubernetes.io/zone label (I think some providers do that, but may generate scheduling issues).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions