Skip to content

Instantly share code, notes, and snippets.

@djmeph
djmeph / k8s-rpi5-cluster..md
Last active April 28, 2026 07:20
Kubernetes and Rancher on a Raspberry Pi 5 Cluster

Deploy Kubernetes and Rancher on a Rasperry Pi 5 Cluster

I purchased three 8GB Raspberry Pi 5s with 128GB 96mb/s microSD cards to build my first Kubernetes cluster, and as expected, I ran into a lot of problems with the newness of the Pi 5. I have been working with Kubernentes professionally for exactly one year now, so for me this was about learning how to create my own cluster from the ground up to fill in the gaps of knowledge of the infrastructure that has been provided to me.

I have since upgraded this cluster to 7 nodes with 512GB storage each.

Many tutorials and examples exist on building a Raspberry Pi K8S cluster. The problems I ran into were mostly in two categories: