hetznercloud / hcloud-cloud-controller-manager

Kubernetes cloud-controller-manager for Hetzner Cloud
Apache License 2.0
739 stars 118 forks source link

Controller deletes hardware nodes from cluster #789

Open vladimirtiukhtin opened 4 days ago

vladimirtiukhtin commented 4 days ago

TL;DR

I run cloud plus hardware nodes (through vswitch). Each time kubelet on hardware nodes register a node, controller deletes it from the API. I found a way around it, but controller ensures node.kubernetes.io/network-unavailable taint which is really pain in the known place

Expected behavior

Controller does not attempt to manage HW servers

Observed behavior

As described above

Minimal working example

No response

Log output

No response

Additional information

No response

apricote commented 4 days ago

Hey @vladimirtiukhtin,

did you try setting up hcloud-cloud-controller-manager according to the Robot Docs?

vladimirtiukhtin commented 4 days ago

Hi @apricote. Thanks for the prompt response. Yes, I tried, however there is a critical feature missing Cloud provider could not be initialized: could not init cloud provider "hcloud": using Routes with Robot is not supported. What would be helpful is for the controller to not attempt to manage robot servers at all. Through a label possibly