Non-hcloud nodes and HCCM with private networks #713
Unanswered
deubert-it
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
I found this discussion here which covers adding a ROBOT server, but also ends with just disabling the route controller: #489 (reply in thread) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We are experimenting with adding k3s nodes to clusters set up by hetzner-k3s, and while HCCM officially supports hetzner cloud nodes as well as hetzner robot nodes, our custom nodes are neither (think generic VMs).
While this is not strictly hetzner-k3s related, as I read hetzner-k3s wants to provide support for "anything with ssh access", it probably is a future problem here as well, so this discussion here might make sense.
The current issue:
Our clusters make use of private networking. HCCM has a route controller that wants to create routes per node to private networks.
Because HCCM can't find our custom node being a hcloud or robot instance, it will constantly fail.
While hetzner CSI controller has a simple way to not consider nodes by setting the
instance.hetzner.cloud/is-root-server=truelabel to the node, there is nothing similar for HCCM.There is an option to fully deactivate the Route Controller for HCCM, but I'm not sure that's good for our hcloud or robot nodes.
For our existing environments, having hybrid/mixed nodes makes a lot of sense, so it's important for us.
However, I don't think our current setup makes use of those routes at all, because as per hetzner documentation it would only work with specific CNI configuration, i.e. cilium with routing_mode: 'native', which we don't use. (we use cilium with mostly standard values, and routing_mode default is 'tunnel').
I'm still analyzing this - if we actually need it somewhere, or if it would have benefits to do so.
We currently see the recurring node events and hccm routecontroller is trying to do this every 30 seconds, which just doesn't feel right.
Maybe I missed something? Also planning on raising a HCCM issue to maybe have some way to not consider some nodes via label/annotation?
Beta Was this translation helpful? Give feedback.
All reactions