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 4640f164c3 forgejo-runner-amd64: force_pull=true so a missing job image self-heals
The dind data root was emptied out of band (most likely a hand rm -rf
during the Forgejo 503 fix at ~22:34 UTC on 2026-09-18), which wiped
node:20-bullseye from the docker:27-dind sidecar's imagedb. With
force_pull unset (default false) act_runner treats a failed pull as
best-effort and the job dies in 2s with 'No such image' - a silent
failure no workflow can see or fix.

Setting force_pull: true under container: makes each job verify/re-pull
node:20-bullseye. Trade-off: one manifest check per job, and a Docker
Hub outage would then fail jobs a warm local image could have served.
node:20-bullseye is required regardless (actions/checkout is a JS action)
so we do not change the job image to dodge this.

Evidence: ConfigMap forgejo-runner-config amd64.toml had no force_pull
(key confirmed via kubectl on the Pi). The stale Error pod
forgejo-runner-amd64-59fbb7bfc4-rj2jp (6d17h, 0/2 containers) is left
for a separate cleanup card - it sits on a different overlay and is not
the cause, but should be gc'd.

Co-authored-by: Hermes Agent <[email protected]>
2026-09-18 20:48:50 -04:00
apps forgejo-runner-amd64: force_pull=true so a missing job image self-heals 2026-09-18 20:48:50 -04:00
clusters feat: install Gateway API v1.5.1 CRDs (Cilium 1.20 requires referencegrants v1) 2026-09-15 01:22:46 -04:00
infographic/home-k8s-mesh cillium gateway config switch to linode node as gateway 2026-09-14 23:47:48 -04:00
infrastructure feat(cilium): enable bpf-lb-external-clusterip for WG spokes 2026-09-18 20:37:18 -04:00
monitoring/controllers/home Initial HomeK8s tree matching lab GitOps layout. 2026-09-10 23:38:04 -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.