homek8s/apps/base/forgejo/kustomization.yaml
Sirius DevOps 741b9f13a7 forgejo: let the deploy runner's init container write runner.ini; cap job memory; prune nightly
- 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.
2026-10-22 23:55:21 -04:00

14 lines
302 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- httproute.yaml
- pvc.yaml
- cluster.yaml
- deployment.yaml
- service.yaml
- runner-configmap.yaml
- runner-arm64.yaml
- runner-amd64.yaml
- runner-deploy-arm64.yaml
- prune-cronjob.yaml