Then update the OS.
apt-get update -y apt-get upgrade -y reboot
Login back into the master and become root.
Add the following to
cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory
Reboot the master.
Log back into the master and become root.
Copy the SSH keys into the master (replace MASTER-IP with the IP address of the master).
Install the k3s server.
k3sup install --ip <master-ip> --user pi --k3s-extra-args '--no-deploy traefik'
Note the command line above excludes Traefik from the deployment as I deploy it separately. If you do not want to configure Traefik yourself feel free to drop the --k3s-extra-args entirely.
Posted February 1st, 2021