Kubernetes on Raspberry Pi 3 - The missing Troubleshooting Guide

Isolation Considerations

Edit /boot/cmdline.txt and set the value to cgroup_enable=cpuset.

Not able to Download Docker Images

That was a hard one to fix.

sudo sysctl -w net.ipv4.tcp_mtu_probing=1  

To make this change permanently and survive a reboot add this line to the following file /etc/sysctl.conf:


Increase Swappiness

In /etc/sysctl.conf set the swappiness to 1:

vm.swappiness = 1  

This means, that swapping will only start when the RAM consumption exceeds 99%.


[1] https://github.com/luxas/kubernetes-on-arm/issues/106

[2] https://github.com/docker/docker/issues/22635

[3] http://eueung.github.io/docker-stuff/learning-k8s/

Andreas Fritzler

Data Jedi | Cloud and Big Data Expert | Machine Learning Enthusiast | Deep Learning Fanatic @SAP Opinions are my own