Kubernetes homelab
A small cluster built to expose real operational problems.
This case study covers the Kubernetes cluster on Ubuntu that preceded the Talos migration. It had three nodes, with one control-plane node and two workers.
- 3Kubernetes nodes
- GitOpswith Flux and Helm
- NFSshared storage
- CIchecks outside the cluster
Architecture before Talos
Decisions that mattered
Git takes ownership
Changes go through Git and Flux. This rule prevents a manual image or manifest update from fighting the declared state.
Storage leaves the workers
Local persistent volumes depended on one worker. The affected workloads now use NFS-backed PVCs on the NAS.
Secrets stay out of the repository
Infisical supplies credentials at runtime. CI also searches for secrets committed by mistake.
CI works without the cluster
Scripts render charts, validate Kubernetes schemas and enforce a storage policy before a change reaches the cluster.
Path of a change
Commit
A chart or configuration change enters Git.
Check
Gitleaks, Helm rendering, kubeconform and storage rules inspect it.
Reconcile
Flux reads the Git source and applies the declared state.
Observe
Prometheus, Grafana and Loki provide signals after deployment.
Limits of this architecture
The original cluster had one control-plane node and depended on a NAS for shared storage. Some services had one replica and several workloads depended on the available hardware. The repository documents these limits and the risks they carry.
The repository contains the manifests, checks and runbooks.
Its public architecture and recovery procedures make the engineering choices open to inspection.
Read the code and documentation