Cybertron

A three-node, highly available Kubernetes cluster on Talos Linux, running on mini PCs at home. It exists to break on purpose: real Ethernet, real disks, node failures, upgrades, storage, observability, GitOps and secrets without paying for cloud resources.

Three nodes, one cluster

Optimus, Bumblebee, and Ratchet are Dell mini PCs. Each runs Talos Linux and participates in the Kubernetes control plane.

Hardware

Cluster devices

Three identical mini PCs, all control planes and all running workloads, wired back to the home router.

Home router

router
  • Home LAN with wired Ethernet to every node
  • DHCP reservations for the node addresses
  • Reserved addresses for the API VIP and LoadBalancer range
DHCPLAN routing

optimus

node

192.168.1.111

  • Dell OptiPlex Micro
  • Intel Core i5, 8th gen
  • 8 GB DDR4
  • 256 GB SATA SSD
  • Wired Ethernet
Control planeetcdWorkloadsCiliumLonghorn replicaTailscale

bumblebee

node

192.168.1.112

  • Dell OptiPlex Micro
  • Intel Core i5, 8th gen
  • 8 GB DDR4
  • 256 GB SATA SSD
  • Wired Ethernet
Control planeetcdWorkloadsCiliumLonghorn replicaTailscale

ratchet

node

192.168.1.113

  • Dell OptiPlex Micro
  • Intel Core i5, 8th gen
  • 8 GB DDR4
  • 256 GB SATA SSD
  • Wired Ethernet
Control planeetcdWorkloadsCiliumLonghorn replicaTailscale

Cloudflare edge

cloud
  • Public DNS and edge TLS for *.prateek.cloud
  • Public apps reach the cluster through one shared tunnel
Cloudflare Tunnelcloudflared ×2Gateway public

Tailscale tailnet

cloud
  • Five /32 routes: the three node IPs, the API VIP and the internal Gateway
  • Every node advertises the same routes; one is active at a time
WireGuard meshRemote kubectl and talosctl access

Stack

What runs it

Every layer is reproducible from the repository: nodes, networking, storage, observability, GitOps and secrets.

  • Talos Linux

    Immutable, API-managed operating system on all three nodes (1.14)

  • Kubernetes

    Three control planes and three etcd members; the API survives one node down (1.37)

  • Cilium

    CNI and kube-proxy replacement, LB IPAM, L2 announcements and NetworkPolicy (1.20)

  • Gateway API

    Internal Gateway on 192.168.1.201 for lab apps and a public Gateway for Cloudflare traffic

  • cert-manager

    Let's Encrypt wildcard certificates over DNS-01, so no inbound access is needed

  • Cloudflare Tunnel

    Public ingress from Cloudflare edge to the cluster with no open ports at home

  • Tailscale

    Remote access to the Gateway, the API VIP and the Talos API over five /32 routes

  • Longhorn

    Replicated persistent storage on the 170 GiB node partitions, the default StorageClass

  • VictoriaMetrics

    Metrics and VictoriaLogs for every node, pod and volume, kept for a month

  • Grafana

    Dashboards, log search and alerts, LAN and tailnet only

  • Argo CD

    GitOps app of apps; a git push changes the cluster and drift is reverted

  • External Secrets + Bitwarden

    Every Secret synced from one Bitwarden Secrets Manager project; Git holds only references

  • Omni

    Cluster management, node patches and system extensions for the Talos nodes

Manifests, Talos patches and validation steps live in the repository.

github.com/prateekjaindev/homelab ↗