syself / cluster-api-provider-hetzner

Cluster API Provider Hetzner :rocket: The best way to manage Kubernetes clusters on Hetzner, fully declarative, Kubernetes-native and with self-healing capabilities
https://caph.syself.com
Apache License 2.0
604 stars 56 forks source link

Support bare-metal servers with hcloud-cloud-controller-manager #1470

Open apricote opened 2 weeks ago

apricote commented 2 weeks ago

/kind feature

Describe the solution you'd like

Right now you only support Robot (bare-metal) servers when using syself/hetzner-cloud-controller-manager.

hetznercloud/hcloud-cloud-controller-manager (HCCM) added support for Robot servers in December 2023. It would be awesome if you would also support this with CAPH.

Anything else you would like to add:

As far as I could tell, the main problem is that CAPH expects the provider ID for bare-metal servers to be formatted as hcloud://bm-$ROBOTID. HCCM uses the format hrobot://$ROBOTID.

Related to https://github.com/hetznercloud/hcloud-cloud-controller-manager/issues/702

Environment:

janiskemper commented 2 weeks ago

@apricote would you be able to contribute here?