Skip to content
K3s cluster setup

K3s cluster setup

Build your Kubernetes cluster with K3s VM nodes

Create and configure virtual machines in your Proxmox virtual environment to turn them into K3s nodes. Do this properly by following in order the steps explained in these chapters:

Requirements and arrangement
Plan before you commit to build your K3s cluster.
1st
Storage setup
Reorganize the free storage available in your Proxmox VE system to suit the needs of your K3s cluster.
2nd
Debian VM creation
Create the generic Debian VM that will serve as base for building the K3s nodes later.
3rd
Debian VM configuration
Configure the generic Debian VM to harden and optimize it.
4th
Connecting the VM to the NUT server
Install the NUT client in the Debian VM and connect it to the NUT server running in your Proxmox VE system.
5th
Debian VM template and backup
Turn your generic Debian VM into a template to create other VMs later, then back it up.
6th
K3s node VM template setup
Create the template for VMs specifically configured to be nodes of a K3s cluster.
7th
K3s Kubernetes cluster setup
Build your small Kubernetes cluster with K3s VM nodes.
8th
Setting up a kubectl client for remote access
Prepare a client system for managing your K3s cluster remotely with kubectl.
9th
Deploying the MetalLB load balancer
Balance workloads in your K3s cluster with Metallb.
10th
Deploying the metrics-server service
Put a customized installation of metrics-server in your K3s cluster.
11th
Setting up cert-manager and self-signed CA
Deploy cert-manager and create the certificate structure for the workloads you will run in your K3s cluster.
12th
Enabling the Traefik dashboard
Get access to the Traefik dashboard already available in your K3s cluster.
13th
Deploying the Headlamp dashboard
Install Headlamp to manage your K3s cluster in a visual and more user-friendly way.
14th