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).
20 lines
573 B
YAML
20 lines
573 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
resources:
|
|
- namespace.yaml
|
|
- httproute.yaml
|
|
- pvc.yaml
|
|
- cluster.yaml
|
|
- podmonitor.yaml
|
|
- pg-actions-queries.yaml
|
|
- deployment.yaml
|
|
- service.yaml
|
|
- runner-configmap.yaml
|
|
# Static PVs/PVCs pinned to rpi: dynamic local-path cannot provision there
|
|
# (its helper pod is hardcoded to siriussec). Must sort before the runner
|
|
# Deployments that consume the claims.
|
|
- runner-dind-storage.yaml
|
|
- runner-arm64.yaml
|
|
- runner-amd64.yaml
|
|
- runner-deploy-arm64.yaml
|
|
- prune-cronjob.yaml
|