By Kevin McAleer, 5 Minutes
Page last updated November 24, 2026

By the end of this lesson you will be able to choose and plan the Raspberry Pi hardware for a K3s cluster, and explain why storage and networking matter more than raw CPU speed.
K3s was designed for small machines, so a couple of Pis is genuinely enough. The K3s documentation gives these minimums:
| Role | CPU | RAM |
|---|---|---|
| Server (control plane) | 2 cores | 2GB |
| Agent (worker) | 1 core | 512MB |
Those are minimums for K3s itself. Your own apps need memory on top, so I recommend a Raspberry Pi 4 or Raspberry Pi 5 with 4GB for the server and at least 2GB for each worker. Both boards are 64-bit, which is what we need.
flowchart LR
subgraph Rack["Your desk or shelf"]
S["pi-server<br/>4GB, SSD"]
N1["pi-node1<br/>2GB or more"]
N2["pi-node2<br/>2GB or more"]
end
SW["Gigabit switch"]
R["Router and internet"]
S --- SW
N1 --- SW
N2 --- SW
SW --- R
Everything plugs into one switch, and the switch connects to your router so the nodes can pull images from the internet.
1. Storage. A Kubernetes server writes to disk constantly (its database, logs, image layers). The K3s docs say plainly that on a Raspberry Pi you should use an external SSD, because SD cards cannot handle the IO load. A microSD card will work for learning, but expect it to be slow and eventually to wear out. If you can afford one USB SSD, put it on the server first.
2. Wired networking. Nodes talk to each other all the time. Use Ethernet. Wi-Fi adds delay and drops, and a node that vanishes for a few seconds looks like a failure to Kubernetes.
3. Power and cooling. Under load a Pi that is short of power throttles or reboots. Use the official power supply for your model and, for a Pi 5 or a stack in a case, a fan or heatsink. A node that browns out in the middle of a deployment is a confusing thing to debug.
| Layout | Good for |
|---|---|
| 1 Pi (server only) | Learning kubectl, manifests and Helm. K3s can run pods on the server. |
| 2 Pis (1 server, 1 worker) | Seeing nodes, scheduling and what happens when a node is lost |
| 3 to 4 Pis (1 server, 2 to 3 workers) | Scaling and spreading replicas across nodes, the best classroom size |
A single server is a single point of failure: if it stops, the cluster stops being manageable (running pods on workers keep going for a while). High availability needs three servers and a different datastore, which is beyond this course.
I have left out prices and brands on purpose, since they change. Check a Raspberry Pi approved reseller for current stock.
Teachers: Cost is the catch. A cluster of three or four Pis plus a switch is a real expense per group, so consider one cluster per group of three or four learners, or one shared cluster that learners connect to with their own namespace. Order power supplies and cables at the same time as the boards, because missing power supplies are the commonest reason a lesson cannot start.
Why: Undervoltage makes the Pi throttle or reset, and cheap phone chargers often cannot supply enough current.
Quick quiz 1 of 3
What does the K3s documentation recommend for storage on a Raspberry Pi?
Quick quiz 2 of 3
Why should you use Ethernet rather than Wi-Fi for the nodes?
Quick quiz 3 of 3
What is the risk of running only one server node?
Comments