homek8s/monitoring/controllers/home
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lance Walters f1fcf21a94 forgejo/prune: prune every Docker daemon, cap builder cache by age, alert on growth
The nightly CronJob reported Complete while never reclaiming build cache:
docker 27/buildx 0.20.1 accepts --keep-storage and --max-used-space but
returns 'Total: 0B' for both (measured: 21.44GB cache with a 20GB cap, and
541MB cache with a 100MB cap). The comment claiming 53GB reclaimed was true
on an older CLI and is now false. --filter until= does reclaim, so the cash
cap is enforced by walking age windows down (72h -> 0s) and stopping as soon
as the cache is under the cap.

Coverage is now every daemon, discovered not listed: the Pi host socket and
every in-cluster dind pod matching label app=forgejo-runner with a dind
container, pruned over pods/exec with a namespace-scoped ServiceAccount, so
the arm64 dind migration is picked up without editing this job.

Busy guard skips a daemon with a live build and still exits 0. Named volumes
are never pruned; their sizes are printed every run. Adds PrometheusRule
forgejo-prune: cronjob staleness/failure plus node filesystem high-watermark.
2026-10-27 01:43:20 -04:00
..
dashboards dashboards: zero-render stats, drop the aspirational folder annotation, keep the validator in the repo 2026-10-27 01:40:15 -04:00
gateway-probe.yaml internal gateway probe: alert when the gateway label is not on exactly one node 2026-10-27 01:08:53 -04:00
httproute.yaml grafana: serve it on the bare WireGuard IP (drop HTTPRoute hostnames) 2026-10-27 00:35:53 -04:00
kustomization.yaml forgejo/prune: prune every Docker daemon, cap builder cache by age, alert on growth 2026-10-27 01:43:20 -04:00
kustomizeconfig.yaml monitoring: kube-prometheus-stack + WireGuard-only Grafana via the internal gateway 2026-10-27 00:12:38 -04:00
namespace.yaml monitoring: kube-prometheus-stack + WireGuard-only Grafana via the internal gateway 2026-10-27 00:12:38 -04:00
prune-alerts.yaml forgejo/prune: prune every Docker daemon, cap builder cache by age, alert on growth 2026-10-27 01:43:20 -04:00
release.yaml monitoring: kube-prometheus-stack + WireGuard-only Grafana via the internal gateway 2026-10-27 00:12:38 -04:00
repository.yaml monitoring: kube-prometheus-stack + WireGuard-only Grafana via the internal gateway 2026-10-27 00:12:38 -04:00
values.yaml monitoring: custom Forgejo runner, CNPG and workload dashboards from git 2026-10-27 01:32:20 -04:00