
Install k3s on Debian and Ubuntu
🧱 Prerequisites (Debian / Ubuntu) Works great on: Debian 11 / 12 Ubuntu 20.04 / 22.04 VPS, VM, or bare metal 1️⃣ Update the system sudo apt update && sudo apt upgrade -y 2️⃣ Install required packages sudo apt install -y curl ca-certificates gnupg 3️⃣ Disable swap (required for Kubernetes) sudo swapoff -a sudo sed -i '/ swap / s/^/#/' /etc/fstab 🚀 Install k3s (Single-node Control Plane) k3s is maintained by Rancher, and the install is famously a one-liner. ...