Feature request: Way to add hetzner dedicated server instance as agent node #283
Replies: 8 comments 2 replies
-
As far as I am aware, there's no terraform provider for neither vswitches nor dedicated servers we could use for that feature. At least https://registry.terraform.io/providers/hetznercloud/hcloud/ does not support them. And even if there was, I don't think you can use vswitches with hcloud hosts? |
Beta Was this translation helpful? Give feedback.
-
I agree, there is no official support yet as it is with hcloud. but there are few working implementations |
Beta Was this translation helpful? Give feedback.
-
Did you test it? From the docs it looks like it neither supports provisioning servers nor attaching hcloud_networks to vswitches (just reading them). If it works, I think a first step would be to implement a shared network on top of kube-hetzner, the only change to kube-hetzner required would be to expose the network_ids, to attach them to the vswitch, right? Joining dedicated machines into your cluster would probably left as an exercise to the reader as it depends on your provision those servers. That would be an interesting project in itself, but probably best implemented on top of kube-hetzner (re-using its terraform modules for the hcloud part). Let us know if you start hacking on this :) |
Beta Was this translation helpful? Give feedback.
-
Sure, valuable feedback. :) I am going to test it in next couple of days. Ref Docs: Interesting project yesterday came across (it implements HCLOUD + ROOTServer API): |
Beta Was this translation helpful? Give feedback.
-
Very interesting, thanks! I am renting a bunch of bigger dedicated machines and two vswitches from Hetzner myself (albeit not running kubernetes there) and learning that you can, at least nowadays, join them into private networks with hcloud machines is quite interesting to me.
That one looks very interesting indeed, hadn't heard of it so thanks a lot! |
Beta Was this translation helpful? Give feedback.
-
Moving it to a discussion where it makes more sense, in the ideas section. |
Beta Was this translation helpful? Give feedback.
-
if I understand correctly, kube-hetzner doesn't support having hybrid cluster with cloud and dedicated machines but that doesn't mean that it is not doable given that it is possible to join cloud and dedicated machines in the same private network. I've just started to look into setting up a k3s cluster using kube-hetzner but in the future I'd like to have the possibility to add dedicated servers to the mix, even if I have to do it manually or automate it myself. Since I've just started I'm not sure how hard it would be, so if I may ask: do you foresee any pain points in particular if I ever want to add a dedicated server to the cluster and configure it myself? which I assume will involve add a new node to the k3s cluster, configure the load balancer (if necessary, not sure if being it the same private network may be enough), configure longhorn, among other things. |
Beta Was this translation helpful? Give feedback.
-
A discussion has been opened here: #1311 |
Beta Was this translation helpful? Give feedback.
-
It would be awesome if you consider ability to automatically deploy vswitch with dedicated server to hetzner cloud instances (join the cluster).
I am still learning and I really love the way you all have built this amazing project.
I have experimented with it and so far and it worked effortlessly. Thank you so much for that..
I am looking forward to contribute too.
Beta Was this translation helpful? Give feedback.
All reactions