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

Still a need for HAProxy VMs? #1

Open
cfredericksen opened this issue May 13, 2023 · 2 comments
Open

Still a need for HAProxy VMs? #1

cfredericksen opened this issue May 13, 2023 · 2 comments

Comments

@cfredericksen
Copy link

k0s now has builtin support for HA on the controlplane, have you considered testing it not using HAproxy?

https://www.mirantis.com/blog/k0s-1-26-released

@twz123
Copy link
Owner

twz123 commented May 13, 2023

Sure! Both the NLLB and the external LB setups work with this repo. Actually, I've added support for an external load balancer just quite recently, even after 1.26/NLLB was released (I think). The main purpose for this repo is to test and experiment with different deployment setups of k0s without the need for some cloud. NLLB and external LB are quite a bit different, so for me, it's important to be able to use both.

NLLB can be enabled using the appropriate settings in the k0s_config_spec tf var, and the external LB can be toggled via the loadbalancer_enabled tf var. They are mutually exclusive. K0s will refuse to start if both are enabled.

Maybe I've to finally write up a few examples in the README 😇

@cfredericksen
Copy link
Author

Cool, thanks for the info. At home I have a few KVM hosts and at work, I use Cluster API to build and manage cluster on vCenter and they don't support KVM hosts so thanks for publishing your repo!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants