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

By the end of this lesson you will be able to describe the pieces of your K3s cluster and how they fit together, and choose what to learn next.
You started with a few bare Raspberry Pis and finished with a Kubernetes cluster running an app with a database that survives restarts.
flowchart TB
subgraph Setup["Preparing"]
A["Hardware and 64-bit OS"] --> B["Hostnames, fixed IPs, cgroups"]
end
subgraph Cluster["The cluster"]
C["K3s server"] --> D["Worker nodes"]
end
subgraph Using["Using it"]
E["kubectl, metrics, Headlamp"] --> F["Storage, Services, Ingress"]
F --> G["Deployments and Helm"]
end
subgraph Safe["Running it well"]
H["CI/CD and GitOps"] --> I["NetworkPolicy, RBAC, Secrets, TLS"]
end
Setup --> Cluster --> Using --> Safe
| Lesson | The key idea you took away |
|---|---|
| Hardware and OS | An SSD, wired Ethernet and the memory cgroup matter on a Pi |
| Networking | Fixed addresses and unique hostnames keep nodes in the cluster |
| Installing K3s | One script gives a server, with Flannel, Traefik, ServiceLB and local-path built in |
| Adding nodes | K3S_URL and the token turn a Pi into a worker |
| kubectl | You describe what you want, and Kubernetes keeps it that way |
| Storage | A PVC keeps data beyond one pod, but local-path is tied to one node |
| Ingress | Traefik routes many apps through ports 80 and 443 |
| Helm | A chart and a values file make deployments repeatable |
| CI/CD | A runner inside your network, or GitOps, deploys from Git |
| Security | Secrets, RBAC, NetworkPolicy and TLS, and never exposing port 6443 |
Ideas for your cluster: a self-hosted Git server, a dashboard for your robots, or an MQTT broker for a fleet of sensors. A cluster of Pis is a wonderful place to try things safely, because you can wipe and rebuild it in under an hour.
Teachers: A good wrap-up is a short demo from each group: show your app, kill a pod, kill a node (pull its power lead), and explain what Kubernetes did. Ask groups to write one thing that went wrong and how they fixed it. Do a final tidy: delete test namespaces and, if kit is shared, uninstall K3s with the uninstall scripts so the Pis are clean for the next class.
kubectl get nodes and kubectl get pods -o wide a few times over a few minutes. What happens to the pods that were on that worker?Quick quiz 1 of 3
Which two files do you need from the server to work from your laptop and to join workers?
Quick quiz 2 of 3
Which K3s feature stores volumes on a node’s disk by default?
Quick quiz 3 of 3
What is the safest way to deploy from Git to a home cluster without opening ports?
Comments