Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
microk8s on Raspberry Pi 4

How to install microk8s on Raspberry Pi 4

Enable cgroup

$ sudo vi /boot/firmware/cmdline.txt

Add the following and reboot

cgroup_enable=memory cgroup_memory=1

Install snap

$ sudo apt update
$ sudo apt install snapd
$ sudo snap download core


Install microk8s

$ sudo snap install microk8s --classic --channel=1.20/stable
$ sudo iptables -P FORWARD ACCEPT

This comment has been minimized.

Copy link
Owner Author

@tuananh tuananh commented Dec 19, 2020

Ubuntu server boot from usb is non-trivial, unlike raspberry os :

If you are using sdcard, then the above would work just fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment