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

Ahoy there makers! Welcome to Running K3s on Raspberry Pi.
By the end of this lesson you will be able to explain what K3s is, how it differs from full Kubernetes, and what you will build in this course.
Kubernetes is the system most of the industry uses to run containers across many computers. It is also famously heavy. K3s is a certified, lightweight Kubernetes distribution from Rancher (now part of SUSE) that ships as a single small binary, which makes it a great fit for little computers like the Raspberry Pi.
In this course you will turn a few Raspberry Pis into a real Kubernetes cluster, deploy a small web app with a Redis database, give it storage and a friendly web address, lock it down, and automate its deployment.
flowchart TB
L["Your laptop<br/>kubectl and ssh"] --> S["pi-server<br/>control plane"]
S --> A["pi-node1<br/>worker"]
S --> B["pi-node2<br/>worker"]
A --- W["Switch"]
B --- W
S --- W
K3s bundles sensible defaults, so you do not have to assemble them yourself:
LoadBalancer services work on bare metalkubectl topkubectl, metrics and a dashboardAfter completing this course, you will:
kubectlssh. You will install kubectl and helm on it laterNo second Pi yet? You can follow the whole course on a single Pi, apart from the lesson on joining worker nodes.
Every lesson starts with an objective, teaches one idea, and ends with Try it Yourself exercises, Common Issues and a short quiz. Commands are in code boxes: copy them exactly as written. Where a command prints something, I describe what you should see rather than paste a log, because versions and addresses will differ on your cluster.
These names are used throughout:
| Role | Hostname | Example address |
|---|---|---|
| Control plane (server) | pi-server |
192.168.1.100 |
| Worker | pi-node1 |
192.168.1.101 |
| Worker | pi-node2 |
192.168.1.102 |
Swap in your own addresses wherever you see these. Every YAML file is a complete manifest, ready for kubectl apply -f.
Teachers: This course suits secondary or college groups who have already used the Linux command line. Allow about 45 to 60 minutes per lesson. The ideal kit is one cluster per group of three or four learners (one Pi each) plus a switch; a single Pi can run every lesson except the node-joining ones. Pre-flash the cards before class, because lesson 3 is the slow step. School networks often block static addresses or isolate devices, so a small private switch per group, with a laptop as the gateway or a spare router, avoids a lot of trouble. Kubernetes has many new words, so keep a shared glossary on the wall.
ssh, files and nanoQuick quiz 1 of 3
What does K3s use to run containers by default?
Quick quiz 2 of 3
Which component gives LoadBalancer services an address on a plain Pi cluster?
Quick quiz 3 of 3
What role do the extra Pis play in the cluster?
Comments