Skip to content

Installing K3s

Disable Swap

sudo swapoff -a
sudo rm /swap.img

Checking it is disabled

sudo swapon --show

This should return nothing

Install k3s

curl -sfL https://get.k3s.io | sh -

Taint a master node

kubectl taint node k3s-01 node-roles.kubernetes.io/master:NoSchedule

You can remove it with

kubectl taint node k3s-01 node-roles.kubernetes.io/master:NoSchedule-

Multiple Masters


Want to make this site better? Open a PR or help fund hosting costs