Kubernetes in the homelab
A highly available three-node Kubernetes cluster on Proxmox with RKE2, kube-vip, MetalLB, Traefik, Longhorn, cert-manager and Headlamp - including everything that did not go as planned.
- Part 1
Kubernetes in the homelab - Part 01 - Planning and preparing the nodes
Three Debian VMs, one plan: what we are building, how the addresses are split, and how to prepare the nodes - including two gotchas of cloned VMs.
- Part 2
Kubernetes in the homelab - Part 02 - A highly available control plane with RKE2 and kube-vip
Three RKE2 servers with embedded etcd and one floating address for the Kubernetes API - and a failover test that did not test what I thought it did.
- Part 3
Kubernetes in the homelab - Part 03 - Getting traffic in with MetalLB and Traefik
Real LoadBalancer addresses on the home network with MetalLB, RKE2's Traefik behind one of them, and a wildcard DNS record for every future application.
- Part 4
Kubernetes in the homelab - Part 04 - Replicated storage with Longhorn
Volumes that survive losing a node: Longhorn on the nodes' own disks, a test volume, and a UI that needs a password it does not have.
- Part 5
Kubernetes in the homelab - Part 05 - Certificates from your own CA and a GUI with Headlamp
cert-manager requesting certificates from step-ca over ACME, Headlamp as the web GUI, and the full list of gotchas from the series.