5 Kubernetes Clusters, 5 Machines, 5 Different Lessons
The Five-Cluster Journey
Most homelab stories start with "I bought a Raspberry Pi." Mine started that way too. But it didn't stop at one.
Cluster #1 — Raspberry Pi 4 (4GB): My first K3s cluster. AdGuard Home. Pi-hole. I learned what Kubernetes namespaces were. I learned PodSecurity policies the hard way. I learned that a single Pi can actually run a real orchestration layer.
Cluster #2 — Raspberry Pi 4 (4GB): Jellyfin. This one taught me about persistent volumes, media library management, and why hardware acceleration matters (spoiler: a Pi can't do it).
Cluster #3 — Raspberry Pi 4 (8GB): Backups and Git. Restic, Gitea, automated cron jobs. This cluster taught me that infrastructure without backups isn't infrastructure — it's a disaster waiting to happen.
Cluster #4 — Raspberry Pi 4 (8GB): The experiment box. New tools, random projects, configurations I'd break and rebuild. This cluster taught me how to recover from failure — because I caused a lot of it intentionally.
Cluster #5 — MacBook Air 2015 (i5, 8GB, 1TB SSD): The culmination. Everything I learned from four Pis, applied to a single x86 machine with actual GPU acceleration.
Why Five Clusters?
Because one cluster teaches you the basics. Five clusters teach you patterns.
Each Pi ran its own K3s instance. Separate control planes. Separate workloads. Separate failure domains. This forced me to think about:
- Storage: How do you handle persistent data across ARM devices? What changes on x86?
- Networking: Ingress controllers behave differently under load. Traefik vs NGINX. Cloudflare Tunnels vs direct exposure.
- Security: Every new cluster is a fresh attack surface. CrowdSec rules from one cluster should apply to all.
- Automation: You can't manually configure 5 clusters. Everything becomes YAML. Everything becomes repeatable.
Server #5: The Culmination
This MacBook Air runs 18 pods across 11 namespaces:
| ServicePurposeLesson from Previous Clusters | ||
| Jellyfin | Media server | GPU passthrough (impossible on Pi) |
| Immich | Photo backup | Storage management at scale |
| Gitea | Git hosting | Multi-cluster Git strategy |
| AdGuard Home | DNS ad blocking | Network-wide DNS from cluster #1 |
| Filebrowser | File management | Lightweight alternatives to Nextcloud |
| Portainer | Cluster dashboard | Visual management beats CLI every time |
| Uptime-Kuma | Monitoring | 11 monitors, email alerts |
| Trilium | Documentation | Every fix documented, every procedure saved |
| CrowdSec + Fail2ban | Security | 7,829 threats blocked across all clusters |
| Tailscale | VPN access | Zero-port access learned from cluster #3 |
| Watchtower | Auto-updates | Automation from cluster #4 |
Six Hard Lessons from Five Clusters
1. PodSecurity Policies Are Universal
Every. Single. Cluster. Every new namespace needs labeling:
bash
I learned this on cluster #1. I forgot it on clusters #2, #3, #4, and #5. Each time, the same cryptic error. Each time, I spent 20 minutes debugging before remembering. Now it's muscle memory.
2. Rogue Processes Ship with Every Ubuntu Server
AIDE. rkhunter. File integrity scanners designed for data centers. They run at 100% CPU on every fresh Ubuntu install.
On a Pi, they make the device unresponsive. On a MacBook, they push temperatures to 96°C with the fan screaming at 6500 RPM.
The fix is universal across all 5 clusters:
bash
Temperature after: 54°C. Fan: near-silent 1200 RPM.
3. ARM vs x86: Hardware Acceleration Changes Everything
The Pis couldn't transcode. Software transcoding on ARM is painfully slow. Jellyfin on a Pi means direct-play only.
The MacBook's i5-5250U has Intel QuickSync. Passing /dev/dri to the container:
yaml
Transcoding CPU usage: 85% → 5%. This single difference makes the MacBook a viable media server where the Pis were merely functional.
4. The 15-Hour Arabic Folder Bug
Jellyfin wouldn't scan TUL8TE and Saint Levant. I tried everything across multiple debugging sessions:
- File permissions (fixed 5 times)
- ID3 tag rewriting
- NFO metadata generation
- Library deletion and recreation (4 times)
- Full database rebuilds (3 times)
- Embedded video stream stripping
- Installing Navidrome as an alternative test
15 hours. The culprit? Arabic folder names. Jellyfin's scanner silently skipped كوكتيل غنائي للفنان تووليت. No error. No warning.
One mv command. All 279 songs appeared.
5. Declarative Infrastructure Compounds Across Clusters
With 5 clusters, every fix becomes a YAML file. New cluster? Apply the manifests. Disaster? kubectl apply from backup.
I can recreate any of the 5 clusters from scratch in under an hour. The entire infrastructure lives in Git. This is how production systems work — and your homelab should work the same way.
6. Each Cluster Has a Personality
Cluster #1 is the stable one. #2 is the workhorse. #3 is paranoid about security. #4 is chaotic and gets rebuilt monthly. #5 is the showpiece.
You don't need 5 clusters. But each one taught me something the previous one couldn't. The lessons compound. The mistakes from cluster #2 prevent disasters on cluster #5.
By the Numbers (Server #5)
- 18 pods across 11 namespaces
- 279 songs in Jellyfin (after the Arabic folder fix)
- 12GB photos auto-synced in Immich
- 7,829 threats blocked by CrowdSec
- CPU idle: 54°C (down from 96°C)
- Fan speed: 1200 RPM (down from 6500)
- Disk usage: 16% of 915GB
- RAM usage: 3.4GB of 7.7GB
- Services monitored: 11, all green
What 5 Clusters Taught Me
Start with one. Learn its lessons. Apply them to the next. The mistakes from cluster #1 prevent disasters on cluster #5.
Kubernetes at home isn't overkill — it's a playground for skills that directly transfer to production. Your homelab is your resume. Five clusters, five different lessons, one continuous journey.