Can anyone test my k3s cluster setup for high availability?

May 8, 2025 3 answers
Asked by +reserve a place
Hey everyone! I'm trying to set up a high-availability (HA) k3s cluster, but I currently lack the physical hardware to test it out. I've put together some commands to help deploy it, which I've included below. If anyone has access to the necessary devices or VMs, could you please test my setup and let me know if it effectively provides HA with multi-master functionality? Here's what I have: **Node-01 (master)** 1. Install k3s with the options for HA and Virtual IP setup. 2. Disable firewalld and SELinux on all servers. 3. Set the KUBECONFIG variable properly. 4. Change IP to the virtual IP in k3s.yaml. 5. Install kube-vip on all masters. **Node-02 (2nd master)** 1. Install k3s while referencing the first master's virtual IP. **Node-03 (3rd master)** 1. Same as Node-02, make sure it references the virtual IP. **Node-04 (worker)** 1. Connect it to the k3s cluster using the token from the master servers. Thanks for any help!

Answers

cone6_hold
I noticed you mentioned just one worker, but you can add more as needed. It looks like you're mainly focused on setting up the master nodes for HA, which makes sense!
Reply to this answer
plum__chutney
Have you considered renting VMs just for testing? It might be a quick solution if you need to get this set up without a lot of hassle.
Reply to this answer
~inspect the roots
If your system has at least 8GB of RAM, you could run three 2GB VMs for the masters. You might even try 1GB VMs, but be prepared to tweak your setupโ€”k3s generally runs fine on 2GB.

+reserve a place: I see! Thanks for the feedback. Maybe Iโ€™ll try with some lighter configurations if I can get access to lower-end resources.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions