Commit graph homek8s/docs/arm64-runner-dind.md
Author SHA1 Message Date
Lance Walters
e572f84b0b monitoring: replace the dead kubelet_volume_stats alerts with runner-scoped disk rules
kubelet_volume_stats_* was an ALPHA metric set served from kubelet's
/metrics/volumes endpoint; that endpoint returns 404 on every node of this
cluster (kubelet v1.36.4 — upstream loss in 1.34, kubernetes#133847), and
/metrics carries no volume-stats series. RunnerDindPvcHighWatermark and
RunnerDindPvcCritical therefore could never fire while showing as healthy.

Per-PVC bytes are not measurable here and no scrape config can change that,
so the pair is replaced by RunnerDindDiskHighWatermark (80%) and
RunnerDindDiskCritical (90%): root-filesystem usage on nodes that actually
run a forgejo-runner pod, which is the filesystem holding the dind data-root
under /opt/local-path-provisioner. New arm64 dind PVCs are covered as soon
as their runner is scheduled; nodes without runners (linode) do not
duplicate the generic disk-capacity group.

Also corrects the cause in docs, the dashboard notes and the prune CronJob
comment (it is not a hostPath quirk, the endpoint is gone).
2026-10-27 02:07:07 -04:00
Lance Walters
a243af6591 docs: arm64 runner -> in-cluster dind — coupling inventory, measured POC, sizing
Design + proof for moving both arm64 Forgejo runners off the Pi's host
Docker socket onto in-cluster dind. No cutover in this commit.

Measured on rpi in a temporary runner-poc namespace (deleted): dind starts
overlay2 on ext4 with --mtu=1420, pulls node:20-bullseye 15s and
rust:1.98-bookworm 30s, builds the real sirius-growth Dockerfile.cluster in
12s arm64 / 13s amd64 under qemu, and a ci.yml-shaped Rust job runs in 27s
vs 28s on the host daemon (cargo 25.69 vs 25.56s). Peak pod RSS 3.10 GiB.

Three blocking findings: a dynamic local-path PVC cannot be provisioned on
rpi (helper-pod nodeSelector is hardcoded to siriussec), the Pi registry is
bound to 127.0.0.1 only so deploy-site's Pi-image push fails from dind, and
the 512Mi memory limit would OOM the daemon on the first build.
2026-10-27 01:52:56 -04:00