What keeps entire teams busy in the enterprise runs here on a handful of Raspberry Pis: a highly available Kubernetes cluster based on K3s that hosts a household's most important digital services – independent of cloud providers.
The platform
- Three nodes share the control plane with embedded etcd. If one fails, the cluster keeps running.
- A dedicated control machine manages everything; additional machines handle special tasks such as DNS filtering and backups.
- Storage is replicated across dedicated SSDs with Longhorn and backed up daily and weekly.
- Two strictly separated ingress gateways (Traefik) for internal and public services, automatic TLS certificates from Let's Encrypt, load balancing on the home network with MetalLB, and automatic failover of the public address if a node goes down.
The services
- A self-hosted mail server for multiple domains, with mail-flow monitoring
- Network-wide DNS filtering against ads and tracking
- A smart home with Home Assistant, integrated with Apple Home, including Matter
- A digital document archive with OCR (Paperless-ngx)
- Workflow automation (n8n)
- A self-hosted AI interface with passkey-based single sign-on, plus a private metasearch engine
- Monitoring with Uptime Kuma, alerting and status pages, and detection of new devices on the network
Everything as code
The cluster follows GitOps principles: a Git repository is the single source of truth. Every service is an Ansible role, deployed with playbooks and Helm charts. Secrets live encrypted in an Ansible Vault – never in the repository. Two rules always apply: capture the target state completely in code before changing the system, and only clean up once the new setup is proven to work. That makes the cluster reproducible from scratch at any time, including its mail and DNS configuration.
The autopilot
Updates largely take care of themselves. Renovate continuously checks for new versions of the software in use and proposes changes. A custom-built autopilot works through these proposals every hour during the day:
- It waits until a new release has been out for a while – by then, major issues with fresh versions are usually known.
- It merges the proposal and immediately deploys it with Ansible, so code and running system always match.
- It verifies the result twice: right after deployment and again fifteen minutes later.
- If anything fails, it rolls back automatically and raises an alert.
Bigger jumps, such as storage upgrades, are deliberately handled by hand with their own runbook. And if an update is merged manually, a follow-up check notices and makes sure it gets deployed anyway.
Maintenance while you sleep
At night, the machines install system updates. If one needs a reboot, it first checks that the others are ready, moves its workloads, and only then restarts – one at a time. Each morning, a report summarizes what happened: node health, services, backups, mail flow, and maintenance. Alerts travel through an independent channel, so they arrive even when the mail server itself is the problem.

