{"repo":"benc-uk/pikube","free":true,"listed":false,"github":"https://github.com/benc-uk/pikube","clone":"git clone https://github.com/benc-uk/pikube.git","description":"Building a Kubernetes cluster on the Raspberry Pi","language":"Python","stars":19,"topics":["kubernetes","kubernetes-cluster","raspberry-pi"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"Project PiKube Project PiKube is a slightly grandiose title for my personal guide to building your own Kubernetes cluster, using a small number of Raspberry Pis. This is a \"bare metal\" approach and we'll be installing & setting up Kubernetes from scratch, how exciting! If you've never used Kubernetes before, this will probably (almost definiely) not be a good starting point, I suggest getting some familiarity before you begin (try kind, k3s or minikube). You will also need to be reasonably Linux/Unix savvy, at the very least be prepared to run commands with little explanation or hand-holding 😄 Mini Change Log: - Updated Sept 2025: This guide was validated & updated for 2025 and Kubernetes 1.34 - Updated Feb 2024: This guide was (re)written for Raspberry Pi OS Debian 12 aka Bookworm, and Kubernetes 1.29 🚩 Pre-reqs Hardware I am not going to provide a full bill of materials for what you need, but at a minimum have at least two spare Raspberry Pi in order to make this worthwhile. For reference this is what I used: - 3 x Raspberry Pi 4 - 3 x microSDHC cards (I used 32GB, I'm sure 16GB would work too) - 3 x Short 30cm USB C cables (There's 1000s on Amazon, find one that sells a pack of 3+) - 1 x Multi port USB Power block from Anker - 2 x Cluster case / rack I used one Raspberry Pi as a master node, and two as worker nodes Software - A SSH client - A decent terminal/shell - kubectl (optional but recommended) 🍔 Installing the OS For this part rather than a step by step guide, th","default_branch":null,"files":null,"tree":[],"storefront":"/r/benc-uk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/benc-uk/pikube/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}