Home Operations¶
Home-Ops: Where Hobby Meets High-Tech Infrastructure
Documentation for my home infrastructure: a three-node bare-metal Kubernetes cluster running Talos Linux, and a TrueNAS server that provides bulk storage, backups and a handful of supporting services. Everything is declared in a single Git repository, bykaj/home-ops. That includes the Kubernetes manifests, the Talos machine configs, the Docker Compose stacks, the bootstrap tooling and these docs.
Merging to main is the deploy step:
Flux reconciles the cluster and
doco-cd redeploys the NAS stacks, both
immediately through webhooks, and Renovate opens
pull requests for every dependency in the repository.
At a glance¶
| Area | Choice |
|---|---|
| OS | Talos Linux on three control-plane nodes; upgrades by tuppr |
| GitOps | Flux for the cluster, doco-cd for the NAS, Renovate for updates |
| CNI | Cilium: native routing, no kube-proxy, LoadBalancer IPs over BGP |
| Ingress | Envoy Gateway (Gateway API), Cloudflare Tunnel for public apps |
| DNS | Split-horizon: external-dns to UniFi on the LAN and to Cloudflare publicly |
| Certificates | cert-manager with Let's Encrypt wildcard certificates |
| Identity | Pocket ID (OIDC) |
| Secrets | External Secrets with 1Password Connect in the cluster, doco-cd op:// references on the NAS |
| Storage | Rook-Ceph block storage, OpenEBS local volumes, NFS from the NAS |
| Backups | Kopiur (Kopia) for PVCs, off-site to Backblaze B2 |
| Databases | CloudNativePG with Barman Cloud backups to Garage S3; Dragonfly caches |
| Images | Spegel node-to-node sharing, Zot pull-through mirror on the NAS |
| Monitoring | kube-prometheus-stack with Pushover alerts, VictoriaLogs, Grafana, Gatus |
Where to start¶
-
How the pieces fit together: GitOps flow, repository layout, secrets.
-
Cluster nodes, NAS, network gear and power.
-
Subnets, BGP-announced VIPs, gateways and split-horizon DNS.
-
Rook-Ceph, OpenEBS, the NAS pools, PVC backups and PostgreSQL.
-
Talos, app layout conventions, reusable components and the app catalog.
-
Compose stacks on the NAS, deployed by doco-cd.
-
Bootstrap, upgrades, new databases, adding apps.
-
Symptom ladder, known noise and the knowledge base of past problems.
-
Incidents and major migrations, and what changed because of them.
-
justrecipes, tooling, cloud dependencies, glossary.