monitoring: name the dind data-root precisely in the runner disk alert

This commit is contained in:
Lance Walters 2026-10-27 02:13:11 -04:00
commit af73b261b3

View file

@ -133,11 +133,12 @@ spec:
{{ $labels.nodename }} is {{ $value | humanizePercentage }} full — {{ $labels.nodename }} is {{ $value | humanizePercentage }} full —
the filesystem carrying this node's Forgejo runner dind data-root the filesystem carrying this node's Forgejo runner dind data-root
description: >- description: >-
A forgejo-runner pod runs on {{ $labels.nodename }}, and the dind A forgejo-runner pod runs on {{ $labels.nodename }}, and its dind
data-root lives under /opt/local-path-provisioner on this node's data-root is a directory under /opt/local-path-provisioner on this
root filesystem, so CI images, build cache and named volumes fill node's root filesystem (on siriussec:
the same disk as Forgejo/Postgres (siriussec) or the host Docker pvc-*_forgejo_forgejo-runner-amd64), so CI images, build cache and
daemon (rpi). Per-PVC bytes cannot be measured here — kubelet 1.34+ named volumes fill the same disk as Forgejo, Postgres and
Prometheus. Per-PVC bytes cannot be measured here — kubelet 1.34+
no longer exports kubelet_volume_stats_* and /metrics/volumes is no longer exports kubelet_volume_stats_* and /metrics/volumes is
404 — so this node-level rule is the guard. Inspect the offenders: 404 — so this node-level rule is the guard. Inspect the offenders:
`kubectl -n forgejo exec <runner-pod> -c dind -- docker system df -v` `kubectl -n forgejo exec <runner-pod> -c dind -- docker system df -v`