Raspberry Pi Kubernetes Cluster — Equipment | Issue #1

Julian Tellez
3 min readSep 7, 2022

--

Welcome to the Raspberry PI Kubernetes home lab series, its aim is to walk you through the necessary steps to provision a cluster from scratch. Take this as an informative guide and not a tutorial, as there are plenty of those out there. I personally recommend Kubernetes the hard way. This reference guide will suit enthusiasts looking to explore new topics and improve in networking and cloud native applications from the comfort of their home.

Requirements

Requirements for the Kubernetes cluster can be found here. We would need:

  • A compatible Linux host
  • 2 GB or more of RAM per machine (any less will leave little room for your apps).
  • 2 CPUs or more.
  • Full network connectivity between all machines in the cluster
  • Unique hostname, MAC address, and product_uuid for every node. See here for more details.
  • Certain ports are open on your machines. See here for more details.
  • Swap disabled. You MUST disable swap in order for the kubelet to work properly.

Equipment:

Raspberry Pi4
  • 4 X 32GB micro SD card
MicroSD card
  • 1 x Ethernet Switch
Ethernet Switch
  • 1 x Router (with DHCP support)
Router
  • Ethernet Cables (1 per node)
Ethernet Cables
  • MICRO USB / USB-C Cables (1 per node)
USBC cables
  • USB Charger (make sure it can deliver at least 2amp per port)
USB Charger
  • A case for the cluster with cooling fans and heat sinks.
Cluster Case
  • External Hard Drive
External Hard Drive

Here is a link of an assembly guide for the Raspberry stack, it will walk you through a simple fan set up, be sure to add some heat sinks too.
Leave a comment if you have any questions, we will be setting up the nodes next. Happy Coding.

--

--