Tech & AIrelated: r/homelab

Build a tiny Raspberry Pi cluster

Three small boards and a switch make a very small, very proud data centre.

time
a weekend
cost
a treat
effort
a challenge
where
at your desk

what it is

  • A cluster shows how real infrastructure spreads work across machines.
  • k3s is a light Kubernetes distribution that runs on Raspberry Pis.
  • You can learn container orchestration on your desk.

how it goes

  1. Flash Raspberry Pi OS Lite on three Pis and give each a fixed IP.
  2. Install k3s on the first Pi as the server, then join the other two with the node token.
  3. Deploy a simple web app with three replicas.
  4. Unplug one Pi and watch the app move to the others.

you need

  • two or three Raspberry Pis
  • a small switch

why try it

You can literally see the cluster heal itself when you pull a cable.

More in Tech & AI, or pick a niche.