Member-only story

Highly Available K3s Local Setup with Multipass

Create a simple HA multi-node setup on your local machine. 🔥

Gabriel Sena
8 min readOct 30, 2023

NOTE: This setup can be done in MacOS or Windows WSL

What’s included in this post?

  1. End to end implementation of settings up HA k3s
  2. High level overview of Kubernetes framework.
  3. Scripts & Libraries used.

Prerequisite Installations

  1. Multipass: Provides a quick way to instantiate an Ubuntu VM.

Architecture

The diagram below depicts a possible Highly Available architecture that can be implemented leveraging the Kubernetes framework. Specifically, we will be using the lightweight Kubernetes distribution called K3s (a good overview of this system is already discussed here.). Now, let’s break down what each component means and how to implement them.

HA Kubernetes Architecture | Image by Author

Infrastructure requirements:

  • 3 Master (Ubuntu VMs)
  • 3 Load Balancer (Ubuntu VMs)
  • 3 Worker Nodes (Ubuntu VMs)

Breaking down the diagram

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Gabriel Sena
Gabriel Sena

Written by Gabriel Sena

Comp Sci | AI | BJJ | Giant Schnauzer owner. Let's connect⚡️ https://rb.gy/8fipy

No responses yet

Write a response