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.
This commit is contained in:
parent
1576240941
commit
741b9f13a7
4 changed files with 79 additions and 2 deletions
|
|
@ -11,3 +11,4 @@ resources:
|
|||
- runner-arm64.yaml
|
||||
- runner-amd64.yaml
|
||||
- runner-deploy-arm64.yaml
|
||||
- prune-cronjob.yaml
|
||||
|
|
|
|||
Loading…
Reference in a new issue