k3s on three Mac minis and a Raspberry Pi, managed by Flux. Change the cluster by committing here.
| Path | What |
|---|---|
lima/ |
VM definitions for the minis |
k3s/ |
k3s config copied onto each node (server.yaml on the minis only) |
clusters/homelab/ |
Flux entrypoint: Flux itself, the Kustomizations that apply the folders below, and image update automation |
infrastructure/controllers/ |
Shared software, applied first (Gateway API, Traefik, cert-manager, CloudNativePG, Infisical Operator, Agent Sandbox, Prometheus Operator CRDs) |
infrastructure/configs/ |
Configuration for those controllers, applied second (Let's Encrypt issuer, wildcard certificate, Infisical Cloud connection, Cloudflare token sync) |
apps/ |
Apps, applied last |
*/experiments/ |
Software Jake is trying out, not recommendations (kagent, agentgateway). See apps/experiments |
.sops.yaml |
Which files SOPS encrypts, and with which public key |
docs/ |
Documentation |
- Reproduce: run this setup on your own machines
- Plan: build order and what runs on the cluster
- Nodes: hardware, VM sizes, resizing
- Networking: Tailscale, reaching services
- Bootstrap: building the cluster from nothing
- GitOps: how Flux reads this repo, adding and removing apps
- Secrets: Infisical Cloud as source of truth, synced by the Infisical Operator
- Storage: local-path volumes, CloudNativePG, backups
- Infisical: the cluster's Infisical, wiring, first boot
- Authentik: OIDC sign-in for the cluster's apps
- Airlock: agent sandboxes and the UI for claiming them
- Agent Vault: the credential proxy for agent sandboxes
- Certificates: HTTPS for
*.home.jakehulberg.com - Updates: Renovate, and what it doesn't cover
- Incidents: what broke, why, what changed
- Cheatsheet: everyday Lima, kubectl and Flux commands
- Learning: reading list for the concepts behind this repo