The Pi's host Docker is no longer the arm64 job-container daemon. Both
forgejo-runner-arm64 and forgejo-runner-deploy-arm64 now run a privileged
docker:27-dind sidecar (--mtu=1420, socket on an emptyDir shared with the
runner, data-root on a PVC), the same shape as forgejo-runner-amd64.
- labels preserved verbatim: shared keeps docker-arm64/arm64/docker, deploy
keeps deploy-arm64 only; capacity 1 on both
- runner.ini moved from hostPath to the data PVC by copy, uuid preserved
(4e07c1e9... / a41aad73...); the deploy runner's register init container is
inverted into a guard so a missing file cannot burn a token and create a
second runner
- dind limits.memory 4Gi (measured peak 3.10GiB) and 2Gi for the deploy runner
so a CI run and a deploy cannot both claim the Pi's 7GiB
- static hostPath PVs pinned to rpi with Retain: dynamic local-path cannot
provision there (helper pod hardcoded to siriussec)
- docker CLI/buildx come from the dind image instead of the host's docker-static
- Pi registry additionally published on 10.10.0.1:5000 (out of band on the Pi)
- RpiDindDataRootFillingUp at 70%: the real cap, since a static PV does not
enforce its claim and kubelet_volume_stats_* does not exist here
Design and measured proof: docs/arm64-runner-dind.md (t_627c231c).
- init container runs as root: kubelet creates the hostPath /data as root:root
and the runner image's default user cannot write runner.ini there.
- container.options --memory 3g on both Pi runners: two concurrent jobs must not
take the 8 GiB Pi (already using swap) to OOM. Caps the job container only.
- forgejo-runner-prune CronJob: exited containers >48h, images >168h, builder
cache >72h, so the single 917G / volume stops climbing.
deploy-site.yml must run on the Pi (127.0.0.1:5000 registry, Garage on host
network, host docker socket) but the Pi's only runner also serves every
runs-on: docker job in the instance. An onionwire Rust ci build therefore held
the single docker slot while the sirius-growth deploy sat in 'waiting'.
Adds a second runner instance on rpi declaring only the deploy-arm64 label,
with its own hostPath-backed registration (/opt/siriusdevops/runner-deploy/data)
so a pod restart reuses it instead of burning a single-use runner token.
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]>
ci.yml builds every test job's Rust target into one shared named volume
(onionwire-target-ci at /target). Two jobs writing it concurrently clobber each
other's freshly-linked binaries, which then fail with 'could not execute
process ... (never executed) Permission denied (os error 13)'. Forgejo's
concurrency.group did not serialize two same-group runs (446+447 overlapped),
so capacity 1 is the enforced serializer. Cleared the corrupted volume.
Two concurrent x86_64 builds on the dind daemon made the second one's egress
fail (apt looping on Ign: for Debian InRelease) while a single build on the
same daemon succeeded. Serialize the amd64 runner, and match the docker bridge
MTU to the pod's 1420 so containers stop assuming a 1500-byte path.
Setting docker_host makes the runner bind the docker socket into the job
container itself, colliding with the explicit
-v /var/run/docker.sock:/var/run/docker.sock in container.options, so every
job died at create with 'Duplicate mount point: /var/run/docker.sock'.
Restores the config the Pi compose runner ran green for months.