-
-
Notifications
You must be signed in to change notification settings - Fork 320
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
[Feature Request]: Using control planes and nodes together. i.e. make every control plane also an agent with Longhorn #1136
Comments
Additional questions for the pros: I've been reading up on Longhorn and everyone says that C*X11 servers are too small in combination with Longhorn. I can understand if volumes are being synced between servers, but is this still an issue if everything is stored on Hetzner Volumes? If this is still an issue, is there a way to still use Hetzner Volumes in a different way? All I am trying to do is create a cluster with as few resources as possible for now until I have to scale further and where backups are not required (ie: where data is stored somewhere outside of the servers) |
@aleksasiriski @ifeulner Folks, that more down your alley, could you help here please 🙏 |
Why do you use Longhorn on top of Hetzner volumes? Just use hcloud-volumes for RWO and if you need RWX use openebs-nfs-provisioner with hcloud-volumes as backend. |
@aleksasiriski I thought that that was a requirement? Based on this line:
The way I read it is 'if you want to use Hetzner Volumes, enable Longhorn', but it seems that my assumption is wrong? In that situation, if I disable Longhorn then my Hetzner Volumes will keep working? |
@Taronyuu We indeed need to make the text clearer, Hetzner volumes with longhorn is in fact fully optional, by default hcloud csi that is enabled by default will use volumes. |
Awesome! Will it break something if I:
I think disabling Longhorn (even when all of my volumes are provisioned on Hetzner Volumes) will be the biggest breaking change, but I am not sure? I already have items provisioned using Hetzner volumes but did not specifically mention Longhorn. I'll PR soon for an updated documentation to make this more clear :) |
PRs always welcome! About 1 and 3, of course you have to cordon, drain, kubectl delete node, and normally it should be ok since everything can be scheduled on your control planes with the proper flag. About 2. I do not know really, it could break. If it's a production setup, best to do blue green like deploy via a new cluster. |
Description
I've been trying to setup a cluster with 3 nodes where every node is both an control plane and an agent. This to lower the cost and allow HA for the control planes too. I've ran into several issues:
allow_scheduling_on_control_plane
to true so control planes can be used.longhorn_volume_size
on every control plane and agent it will only deploy a Hetzner Volume for 1 agent instead of 1 agent and the 3 control planes.Is there a way to have master planes and agent nodes be 'shared' so 3 nodes are enough? I would also be fine with 4 servers as long as Longhorn and Hetzner Volumes can be used on the control planes.
Is this not a current feature or am I missing something?
Here is a snippet of my config:
The text was updated successfully, but these errors were encountered: