Can anyone test my k3s cluster setup for high availability?

0
0
Asked By TechNinja442 On

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!

3 Answers

Answered By VMWizard12 On

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.

TechNinja442 -

I see! Thanks for the feedback. Maybe I’ll try with some lighter configurations if I can get access to lower-end resources.

Answered By CloudGuru88 On

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.

Answered By SysAdminSteve On

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!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.