~/homelab · k3s cluster
LIVE

/homelab

k3s on Raspberry Pi · self-hosted, self-broken, self-fixed

Cloud Engineer by day,
cluster operator by night.

I'm MrToadie — a Microsoft 365 Cloud Engineer professionally, and at home I run a four-node Kubernetes (k3s) homelab on Raspberry Pis. Everything on this page is fed by real data from that cluster. If a node goes down, you'll see it here before I do.

/k3s cluster

kubectl top nodes
Demo data — data/cluster.json was not accessible. On the live page, the actual cluster values appear here.

Cluster data is loading…

kubectl get nodes -o wide auto-refresh: 5 m
Nodes ready
loading…
Pods running
—
Namespaces
—
Deployments
—

Cluster data is loading…

/storage

df -h /media/toadie/clusterdata XFS · USB-NVMe

/data flow

curl -s data/cluster.json | jq '.timestamp' refresh: every 5 m
Where does the dashboard get its data? No server, no database — this is a static site. A collector on the control-plane node queries the cluster via kubectl (nodes, pods, deployments and resource usage via kubectl top) and polls each node's host stats (disk, temperature, load, uptime) over SSH — then pushes a single JSON file to this repository through the GitHub API, every 5 minutes. Your browser fetches it and renders the cards above. If the cluster goes down, the external watcher flags the feed and the page switches to bundled demo data — the banner tells you why and for how long. → More about the pipeline
                    sequenceDiagram
                        autonumber
                        participant W as control plane
(collector) participant N as nodes participant GH as GitHub API participant B as browser loop every 5 minutes W->>W: kubectl - nodes, pods, top W->>N: SSH - disk, temp, load, uptime N-->>W: host metrics W->>W: build cluster.json W->>GH: PUT data/cluster.json end GH-->>B: static file via GitHub Pages B->>B: fetch + render dashboard Note over W,B: If the cluster dies,
the watcher flags the feed,
the page switches to demo data

/watcher

systemctl status watcher-heartbeat.timer Night's Watch

/setup

ls -la /rack Last updated: November 2026
Raspberry Pis
Raspberry Pis
Cluster architecture diagram
Cluster architecture diagram
                        flowchart TD
                            CP[["Control Plane"]]

                            subgraph WL["Workloads"]
                                direction LR
                                W1(Velero)
                                W2(Forgejo)
                                W3(Prometheus)
                                W4(Grafana)
                            end

                            subgraph WN["Worker Nodes"]
                                direction LR
                                N1[worker01]
                                N2[worker02]
                                N3[worker03]
                            end

                            subgraph ST["USB-Storage"]
                                direction LR
                                S1([NFS Subdir Provisioner])
                                S2([Persistent Volumes])
                            end

                            CP -->|schedules| WL
                            CP -->|runs pods on| WN
                            CP -->|mounts| ST
                        
Why use an extra USB-SSD?
SD cards are designed for read-heavy workloads, not for continuous writing. Kubernetes writes continuously to its database (etcd) — precisely the kind of usage that causes SD cards to become corrupted. That is why all data is stored on a USB SSD using XFS. The SD card only hosts the operating system; it does not contain any cluster or workload data.
Why use Raspberry Pis instead of a home server?
Because distributed systems merely reveal distributed problems. A single server teaches you Linux; four nodes force you to think about scheduling, networking, quorum and storage decisions — all issues that arise on a daily basis in a production Kubernetes environment. And the cluster isn’t static: nodes can be added or removed at any time, and the next expansion phase is already planned — additional control-plane nodes to ensure the cluster can withstand a node failure without downtime (high availability).

/hardware

cat inventory.json | jq Last updated: November 2026
Node Board RAM OS Role Node Age Notes
winterfell Raspberry Pi 4 8 GB control-plane – etcd on USB-SSD (NVMe) XFS
worker01 Raspberry Pi 4 1 GB worker – -
worker02 Raspberry Pi 4 1 GB worker – -
worker03 Raspberry Pi 4 2 GB worker – -
watcher Raspberry Pi Zero 2W 512 MB night's watch - Unbound Caddy Dynacat
eval-01 Raspberry Pi 4 2 GB test system - evaluating NixOS vs. Pi OS

/contact

whois toadie | grep -i contact no forms, no trackers
Want to get in touch?
No contact form, no newsletter — the fastest route is GitHub: → my profile. Feedback, questions or idle chatter about k3s on Raspberry Pis: → Discussions on this site's repo — or just open an issue if something looks broken.