[{"data":1,"prerenderedAt":256,"buildId":257},["ShallowReactive",2],{"page-setup":3},{"id":4,"title":5,"body":6,"description":247,"extension":248,"meta":249,"navigation":250,"path":251,"readingTime":238,"seo":252,"stem":253,"updated":254,"__hash__":255},"pages\u002Fpages\u002Fsetup.md","My setup",{"type":7,"value":8,"toc":236},"minimark",[9,13,16,21,24,84,87,90,94,123,127,203,207,210,213,217,220,229,233],[10,11,12],"p",{},"This page describes what my homelab runs on. It is a snapshot, not a recommendation: most of it grew over time, and a lot of it is second-hand hardware.",[10,14,15],{},"I deliberately leave out version numbers, addresses and the details of my network and security setup. They would not help you build your own, and they do not belong on a public page.",[17,18,20],"h2",{"id":19},"the-cluster","The cluster",[10,22,23],{},"Three identical used business mini PCs form the Kubernetes cluster:",[25,26,27,40],"table",{},[28,29,30],"thead",{},[31,32,33,37],"tr",{},[34,35,36],"th",{},"Part",[34,38,39],{},"Spec",[41,42,43,52,60,68,76],"tbody",{},[31,44,45,49],{},[46,47,48],"td",{},"Machine",[46,50,51],{},"HP EliteDesk 800 G4 Desktop Mini (35 W)",[31,53,54,57],{},[46,55,56],{},"CPU",[46,58,59],{},"Intel Core i5-8500T, 6 cores",[31,61,62,65],{},[46,63,64],{},"Memory",[46,66,67],{},"32 GB",[31,69,70,73],{},[46,71,72],{},"Storage",[46,74,75],{},"256 GB NVMe; a second 1 TB NVMe per node for replicated volumes is being added",[31,77,78,81],{},[46,79,80],{},"Network",[46,82,83],{},"1 Gbit\u002Fs",[10,85,86],{},"Together that is 18 cores and 96 GB of memory at a power draw that is easy to live with. One node is the control plane, the other two are workers; all three carry workloads.",[10,88,89],{},"The nodes run Ubuntu LTS with MicroK8s. Each one sits behind a smart plug, so a node that hangs completely can be power-cycled without me walking to the shelf.",[17,91,93],{"id":92},"around-the-cluster","Around the cluster",[95,96,97,105,111,117],"ul",{},[98,99,100,104],"li",{},[101,102,103],"strong",{},"A Raspberry Pi"," with an SSD runs the Git server and container registry. It lives outside the cluster on purpose: the cluster is rebuilt from Git, so Git must not depend on the cluster.",[98,106,107,110],{},[101,108,109],{},"A NAS"," with mirrored disks holds photos and documents and is the first backup target.",[98,112,113,116],{},[101,114,115],{},"A router and a managed switch"," separate the lab from the home network with VLANs.",[98,118,119,122],{},[101,120,121],{},"An offsite backup"," at a separate location receives encrypted copies every night.",[17,124,126],{"id":125},"platform-software","Platform software",[25,128,129,139],{},[28,130,131],{},[31,132,133,136],{},[34,134,135],{},"Area",[34,137,138],{},"What I use",[41,140,141,149,156,163,171,179,187,195],{},[31,142,143,146],{},[46,144,145],{},"GitOps",[46,147,148],{},"Argo CD (app-of-apps), Sealed Secrets, Renovate for updates",[31,150,151,153],{},[46,152,72],{},[46,154,155],{},"Longhorn with three replicas, NFS to the NAS",[31,157,158,160],{},[46,159,80],{},[46,161,162],{},"Calico, MetalLB, Envoy Gateway (Gateway API), cert-manager",[31,164,165,168],{},[46,166,167],{},"Databases",[46,169,170],{},"CloudNativePG for PostgreSQL, MariaDB",[31,172,173,176],{},[46,174,175],{},"Observability",[46,177,178],{},"Prometheus, Alertmanager, Grafana, Loki",[31,180,181,184],{},[46,182,183],{},"Security",[46,185,186],{},"Pod Security \"restricted\", default-deny NetworkPolicies, Trivy",[31,188,189,192],{},[46,190,191],{},"Backups",[46,193,194],{},"Longhorn backups, database dumps, restic to the NAS and offsite",[31,196,197,200],{},[46,198,199],{},"CI",[46,201,202],{},"Gitea Actions builds images, Argo CD rolls them out",[17,204,206],{"id":205},"infrastructure-as-code","Infrastructure as code",[10,208,209],{},"The desired state of the cluster lives in one Git repository. Nothing is applied by hand: a change is a commit, Argo CD compares the cluster with Git and syncs it. Secrets are only stored encrypted. If a node dies, or the whole cluster does, it can be rebuilt from that repository and the backups.",[10,211,212],{},"Rules that I do not want to rediscover after every incident are written down as short decision records, each with a handful of numbered rules. They are the reference for me and for the AI agent.",[17,214,216],{"id":215},"the-ai-agent","The AI agent",[10,218,219],{},"Much of the routine work is done by a coding agent: it writes manifests, investigates alerts, updates documentation and prepares changes. It works through the same GitOps path as I do, never sees a secret in plain text, and needs my explicit approval for anything that deletes data, costs money or speaks to the outside world in my name.",[10,221,222,223,228],{},"How that works in practice is described in ",[224,225,227],"a",{"href":226},"\u002Fblog\u002Fai-agent-homelab-guardrails\u002F","Letting an AI agent run my homelab",".",[17,230,232],{"id":231},"what-runs-on-it","What runs on it",[10,234,235],{},"The usual self-hosted suspects: file sync, a photo library, a document archive, an e-book library, a search proxy, a few websites with their backends, and my own tooling for bookkeeping and research. Roughly forty Argo CD applications in total.",{"title":237,"searchDepth":238,"depth":238,"links":239},"",3,[240,242,243,244,245,246],{"id":19,"depth":241,"text":20},2,{"id":92,"depth":241,"text":93},{"id":125,"depth":241,"text":126},{"id":205,"depth":241,"text":206},{"id":215,"depth":241,"text":216},{"id":231,"depth":241,"text":232},"The hardware and software behind my homelab: three used mini PCs running Kubernetes, managed through GitOps, with an AI agent doing much of the routine work.","md",{},true,"\u002Fpages\u002Fsetup",{"title":5,"description":247},"pages\u002Fsetup","2026-11-28","Uo4uju5qYAJW6T9WsqkH_gGRl-eVew0p-k52Re6Pwk0",1795905437423,"9ff458c0-c29d-4bc7-9c60-8621e771cacc"]