Kubernetes on Rasberry PI

Inspired by https://www.puzzle.ch/de/blog/articles/2020/10/13/k3s-on-raspberry-pi

add cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory to /boot/cmdline.txt

Restart

sudo vi /boot/cmdline.txt
sudo shutdown -r now

After restart proceed as pi

export K3S_KUBECONFIG_MODE=“644″

export INSTALL_K3S_EXEC=“ –disable servicelb –disable traefik“

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

export K3S_KUBECONFIG_MODE="644"
export INSTALL_K3S_EXEC=" --disable servicelb --disable traefik"
curl -sfL https://get.k3s.io | sh -

Extract token

pi@pitft2:~ $ sudo cat /var/lib/rancher/k3s/server/node-token
K10b72b947d8a922d7d24379e8fcb598e00d6a3d52b1ab035b87ba877f6458::server:1b7d7624d8873e60fa05991911cdba