Skip to content

Instantly share code, notes, and snippets.

Embed
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

Ref: https://snapcraft.io/docs/installing-snap-on-raspbian

Install microk8s

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

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 : https://www.raspberrypi.org/forums/viewtopic.php?t=278791

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