Skip to content
Pacholo Amit
Index
live

Homelab Infrastructure

A GitOps-managed Kubernetes cluster at home

Year
2021-present
Role
Solo
Category
infra
Status
live
Every change, via git
GitOps
Multi-node k3s
HA

Built with

  • Kubernetes
  • k3s
  • FluxCD
  • Terraform
  • Ansible
  • Longhorn
  • Prometheus
  • Cloudflare

Everything running on my own hardware is declared in a repository and applied by Flux. Nothing is configured by hand, because anything configured by hand is something I cannot rebuild.

  • k3s as the distribution, FluxCD 2 polling git and reconciling the cluster.
  • Longhorn for replicated block storage, Velero for namespace and volume backup.
  • Mozilla SOPS so secrets can live in the repository encrypted rather than out of band.
  • Cloudflared tunnels into ingress-nginx, running two pods on separate nodes so exposure survives a node going down.
  • kube-prometheus-stack for metrics, Descheduler for rebalancing, and Renovate keeping the chart versions honest.

Adding a service is an ingress resource and a commit. pacholoamit.com itself resolves through this Cloudflare setup.

Next in the recordMediaJel Tracker