-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use hcloud ccm with CAPH bare metal? #702
Comments
Just for the records, this issue tracked the support for bare-metal. Afaik it is implemented: We at Syself have a fork (which supported bare-metal before hcloud-ccm did): https://github.com/syself/hetzner-cloud-controller-manager I am not happy with the current situation to have two CCMs. Sooner or later we want to solve that. |
I know it is implemented, and almost everything works nicely for me. But when creating clusters with CAPH, somehow, the providerID field got messed up. As I wrote in the linked comment - CAPH is setting the providerID field |
hcloud-cloud-controller-manager supports Robot Servers. We merged the necessary code from syself/hetzner-cloud-controller-manager at the end of last year. You can check out #523 for details on this merge, and the full design doc we have written for it. At that time, the design doc was shared with @batistein. The design doc has the following considerations for the Provider ID. The implementation matches this plan:
IMO this new format should be added to CAPH if it wants to work with hcloud-cloud-controller-manager.
I was hoping that with the merge, there was no longer a reason for the syself fork and you would migrate your users to hcloud-cloud-controller-manager. |
Yes, migration is possible for the existing clusters. However, for the new clusters, the provider ID simply differs.
I think the same for the reasons I wrote above. CAPH also recently updated docs in syself/cluster-api-provider-hetzner#1401 for hcloud clusters. But for the baremetal servers, docs are still pointing to syself fork hccm. |
I found that the mentioned manual workaround |
As this is a missing feature in I will close this issue. Please open a new issue if there are any features missing in hcloud-cloud-controller-manager that would be required for cluster-api-provider-hetzner. |
I heard that someone from Hetzner successfully used it in the past, but according to my test, there needs to be at least one manual step for Cluster API's happiness. The thing is the providerID, which is different between these two projects for the robot servers and then CAPI cannot pair nodes with machine objects. For more see SovereignCloudStack/cluster-stacks#125 (comment)
The text was updated successfully, but these errors were encountered: