Open cfredericksen opened 1 year ago
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 😇
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!
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