Installing MicroK8s on a Raspberry Pi
Running MicroK8s on some ARM hardware may run into difficulties because cgroups
(required!) are not enabled by default. This can be remedied on the Rasberry Pi
by editing the boot parameters:
sudo vi /boot/firmware/cmdline.txt
Note: In some Raspberry Pi Linux distributions the boot parameters are in `/boot/firmware/nobtcmd.txt`.
And adding the following:
To address disk performance issues often present on Raspberry Pi see the troubleshooting section.
For Ubuntu 21.10+ it is necessary to install extra kernel modules:
sudo apt install linux-modules-extra-raspi
Then restart MicroK8s:
sudo microk8s stop; sudo microk8s start
Installation is then via the snap as usual:
sudo snap install microk8s --classic --channel=1.25