-
|
Hi, I'm currently taking a closer look at hetzner-k3s and have already created and used a few test clusters. For productive use, however, I would like to add a bare-metal worker node with more resources than the cloud instances offer to the cluster. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 23 replies
-
|
Hey, currently, this feature isn’t supported out of the box, but I’m thinking about adding it in the future since it could be really useful. For now, you can try to manually connect your dedicated server to the cluster. To do this, you need to have updated to Here’s how you can do it:
crystal run src/hetzner-k3s.cr -- create --config <path to your cluster's yaml file>The Lastly, run the join command on your dedicated server. If the dedicated server is in the same network as the cluster, it should work. Keep in mind that I haven’t tried this myself yet. Good luck, and let me know how it goes! |
Beta Was this translation helpful? Give feedback.
-
|
@vitobotta Did you think about adding support for such nodes? It would be nice even if it will be half-manual, so we can have something like this: So, to make it work we'll need to manually order dedicated server and do manual setup (install correct image, add vSwitch and correct config for it), after that I believe the tool can setup everything else? |
Beta Was this translation helpful? Give feedback.
-
|
Thanks a lot to @if-mar for providing me access to a dedicated server as well as a Hetzner project with the necessary vSwitch setup, so that I could conduct some investigation. I got a cluster with the dedicated server working nicely, for the most part. Unfortunately it seems that even the latest version of the HCCM doesn't handle dedicated servers properly as it's supposed to. These are the steps I took to get the cluster working more or less correctly: 1 - Network setup with vSwitch link - done by @if-mar , who could add some instructions here as well - name: HCLOUD_NETWORK_ROUTES_ENABLED
value: “false”This disables the creation of routes by the HCCM but that should be fine because it's taken care by the CNI, unless you have some weird setup. Caveat:
@if-mar Please try this and let me know how it goes. I will automate this stuff in hetzner-k3s when I have a little time. I am thinking of adding a new |
Beta Was this translation helpful? Give feedback.
-
|
Hi @vitobotta, @if-mar Are there any updates on adding support for dedicated servers in hetzner-k3s? We really enjoy using hetzner-k3s, but we’ve run into a limitation: the cloud servers no longer provide enough storage for our needs, and network volumes are too slow for our database workloads when hosted on these instances. Because of this, we’re considering moving to dedicated servers. Ideally, we’d like to include these dedicated machines as part of our existing Kubernetes cluster, but we’re not entirely sure about the best way to approach this. I came across this thread and plan to give it a try, but I wanted to check if this is still the recommended (or only) solution. Thanks in advance for your help—and apologies if this isn’t the right place to ask! |
Beta Was this translation helpful? Give feedback.
Thanks a lot to @if-mar for providing me access to a dedicated server as well as a Hetzner project with the necessary vSwitch setup, so that I could conduct some investigation.
I got a cluster with the dedicated server working nicely, for the most part. Unfortunately it seems that even the latest version of the HCCM doesn't handle dedicated servers properly as it's supposed to.
These are the steps I took to get the cluster working more or less correctly:
1 - Network setup with vSwitch link - done by @if-mar , who could add some instructions here as well
2 - Create the cluster with the cloud nodes as usual
3 - Create the file
/etc/k8s-resolv.confon the dedicated server with the single line…