While kubernetes is easy to start with, it is quite challenging to master and
know all details. In this post I will provide checklist of important manifest
stanzas that are applicable to most applications that are targeted to run in
production and which are expected to not have downtime during cluster
maintenance and/or application updates.
Introduction
After using docker for last several years I’d like to share best practices that works in production.
Installing kubernetes on Raspberry Pi is easy, but there are few caveats that you need to be aware of.
arm64 is preferred, because 64-bit allows you to use > 4GB of RAM per process.
Enable cgroups Kubernetes relies on cgroups for enforcing limits for the containers, so kernel needs to be booted with cgroups support.
After discovering that by default Raspberry installs 32-bit Raspbian OS, I wanted to reinstall it with a 64 bit - this would allow to run Kubernetes on Raspberry
Decided to go with Ubuntu Server 64.
Installed it on SD Card with Raspberry Pi Imager.
Several years ago I bought Raspberry Pi 3. It was a nice toy, but it was very slow and almost impossible to use, so it didn’t stick. Recently I bought new Raspberry Pi 4 because it has much better hardware (especially 8GB RAM option).