Skip to content
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

Controller deletes hardware nodes from cluster #789

Open
vladimirtiukhtin opened this issue Nov 11, 2024 · 4 comments
Open

Controller deletes hardware nodes from cluster #789

vladimirtiukhtin opened this issue Nov 11, 2024 · 4 comments
Labels
bug Something isn't working question Further information is requested

Comments

@vladimirtiukhtin
Copy link

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

@vladimirtiukhtin vladimirtiukhtin added the bug Something isn't working label Nov 11, 2024
@apricote
Copy link
Member

Hey @vladimirtiukhtin,

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

@vladimirtiukhtin
Copy link
Author

vladimirtiukhtin commented Nov 12, 2024

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

@apricote
Copy link
Member

This is unfortunately the way CCMs work.

Is there a specific reason why you do not want to manage the Robot servers through HCCM?

@apricote
Copy link
Member

Other question, are you using the routes features properly? If not, you could disable the routes controller and enable the Robot support instead.

To use the routes feature you need to tell your CNI to use native routing, ie routing-mode: native in Cilium.

@apricote apricote added the question Further information is requested label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants