Kubeadm cluster on bare metal and one cloud node. Flux CD, Cilium, Gateway API. Manifests for the public sites live here.
  • Python 60.8%
  • Shell 35.3%
  • Dockerfile 3.5%
  • Makefile 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lance Walters dcb708dff4 hubble: bare-IP UI on its own Gateway (8082) — Cilium merges hostname-less routes
Cilium 1.20 renders ONE RouteConfiguration per Gateway, shared by every listener
of that Gateway. Two routes that both match `Prefix: /` with no hostnames are
merged into a single route with `weightedClusters` 1/1, so a second bare-IP
route on the `internal` gateway (even on a second port) makes BOTH services
random: measured 12 requests each to :8081 and :8082 returning Grafana 7x and
Hubble UI 5x. Splitting by port does not help.

Hubble UI therefore gets its own Gateway (`internal/hubble-ui`, listener
http-internal on 8082, own RouteConfiguration) and its route has no hostnames,
so `http://10.10.0.2:8082/` and `http://hubble.lab.internal:8082/` both serve the
UI while Grafana keeps :8081 to itself. Documented as the rule in gateway.yaml:
one bare-IP service per Gateway.
2026-10-27 00:38:47 -04:00
apps forgejo-runner-amd64: run the runner as root so a raced dind socket chmod cannot crashloop it 2026-10-26 17:38:04 -04:00
clusters docs: internal WireGuard-only service pattern (mechanism, firewall, add-next-service, negative tests + verification log) 2026-10-27 00:17:45 -04:00
docs grafana: serve it on the bare WireGuard IP (drop HTTPRoute hostnames) 2026-10-27 00:35:53 -04:00
infographic/home-k8s-mesh cillium gateway config switch to linode node as gateway 2026-09-14 23:47:48 -04:00
infrastructure hubble: bare-IP UI on its own Gateway (8082) — Cilium merges hostname-less routes 2026-10-27 00:38:47 -04:00
monitoring/controllers/home grafana: serve it on the bare WireGuard IP (drop HTTPRoute hostnames) 2026-10-27 00:35:53 -04:00
.gitignore Initial HomeK8s tree matching lab GitOps layout. 2026-09-10 23:38:04 -04:00
Makefile Initial HomeK8s tree matching lab GitOps layout. 2026-09-10 23:38:04 -04:00
README.md Initial HomeK8s tree matching lab GitOps layout. 2026-09-10 23:38:04 -04:00

HomeK8s

Home Kubernetes cluster (kubeadm), same GitOps layout as lab/.

Flux CD will take over once Forgejo is back. Until then apply with kustomize:

kubectl apply -k infrastructure/home

Cluster

Node WG IP Roles Notes
siriussec 10.10.0.2 control-plane, worker default scheduling
rpi 10.10.0.1 traffic, worker dedicated=network:PreferNoSchedule
  • CNI: Cilium 1.18.13, kube-proxy replacement, Gateway API hostNetwork on dedicated=network
  • Overlay: WireGuard 10.10.0.0/24 (API only on WG)
  • Ingress: Cloudflare tunnel → 127.0.0.1:8080 on rpi → Gateway gateway-system/public
  • Storage: local-path on siriussec (/opt/local-path-provisioner)

Pin traffic / light workloads to the Pi:

nodeSelector:
  dedicated: network

Layout

homek8s/
├── apps/
│   ├── base/                 # app definitions
│   └── home/                 # overlay applied to this cluster
├── clusters/
│   └── home/                 # Flux Kustomizations (bootstrap later)
│       ├── flux-system/      # flux bootstrap (after Forgejo)
│       ├── apps.yaml
│       ├── infrastructure.yaml
│       └── monitoring.yaml
├── infrastructure/
│   ├── home/                 # kubectl apply -k target (no HelmRelease)
│   ├── networking/
│   │   ├── cilium/           # HelmRelease for Flux
│   │   └── gateway/          # Cilium Gateway API
│   ├── storage/              # local-path provisioner
│   ├── controllers/
│   └── databases/
└── monitoring/

Apply (now)

kubectl apply -k infrastructure/home

That installs storage + the public Gateway. Cilium is already running; its HelmRelease is only for Flux.

Flux (later)

When Forgejo is up:

flux bootstrap git \
  --url=ssh://[email protected]:222/sirius/homek8s.git \
  --branch=master \
  --path=clusters/home

clusters/home/*.yaml already point at ./apps/home, ./infrastructure/home, and ./monitoring/controllers/home.