
Before we can do anything, we need a master node to init our cluster. We will be setting up K3S on our master MicroOS server.
In this video, we setup the K3S HA cluster with multiple master nodes that will replicate etcd for us.
Where is the kubeconfig file that kubectl uses to authenticate with the control-plane after you install K3s?
Once you have K3S installed, you still have the option to modify the parameters of the installation. You can change things like additional resources that K3S installs after the fact, or even the master server.
In this video, we install Helm using the package manager built into MicroOS called transactional-update.
Longhorn allows us to deploy workloads into our cluster and have the Longhorn CSI provision, backup, and replicate data in our cluster with very little effort. This is because it is installed as a StorageClass and allows deployments to reference the default storage class and how much data they need.
After installing Longhorn, you may notice that the deployment doesn't work with MicroOS (or other Linux distributions) out of the box. With this video, we troubleshoot and fix our Longhorn installation.
We deploy Jira using Helm into our K3S environment.
Lightweight Kubernetes (k3s) allows us to deploy a very low-footprint infrastructure to everything from big data centers to a Raspberry Pi that sits in remote locations. SUSE has provided us with a very simplified Kubernetes distribution that can be used in home labs for free or in data centers with vendor support. MicroOS will allow us to use an immutable operating system in which we can deploy a static system that is the same across the entire cluster. This also allows us to easily apply updates on a running system and roll back the system to a previous state at the filesystem level. Longhorn allows us to easily provision storage for our Kubernetes workloads. Helm will allow us to easily deploy applications into our environment with the simplicity of a package manager.
In this course, we will be setting up a high-availability Kubernetes environment sitting on top of an immutable MicroOS environment. We will start with some concepts and information about K3S. We will then move over to set up a three-node HA Kubernetes (k3s) environment. Upgrading your environment is important, and we will be updating both K3S and MicroOS.
You will see over an hour's worth of technical content and should be able to take this knowledge to set up a home lab or even production environment. So, join me in getting started in this exciting product developer by Rancher Labs and now owned by SUSE.
I have been using Kubernetes for ~4 years now in both home lab and enterprise environments. I have been working in IT for over 12 years now in Linux, Windows, cybersecurity, and many other roles.