forgejo-runner: gc every 30min instead of daily
- Fix template to use .Values.gc.schedule instead of hardcoded cron - Change schedule from daily 03:00 UTC to every 30 minutes - Prevents DinD PVC fill-up (was at 93% before manual prune)
This commit is contained in:
@@ -59,7 +59,7 @@ nodeSelector:
|
||||
# disable in per-runner overrides so it renders once.
|
||||
gc:
|
||||
enabled: true
|
||||
schedule: "0 3 * * *" # daily 03:00 UTC
|
||||
schedule: "*/30 * * * *" # every 30 minutes
|
||||
image: alpine/k8s:1.31.0
|
||||
pruneAge: "72h" # Docker artifacts unused longer than this get pruned
|
||||
pruneAgeHours: 72 # Same as pruneAge but numeric for date arithmetic in shell
|
||||
|
||||
Reference in New Issue
Block a user