monitoring: name the dind data-root precisely in the runner disk alert
This commit is contained in:
parent
e572f84b0b
commit
af73b261b3
1 changed files with 6 additions and 5 deletions
|
|
@ -133,11 +133,12 @@ spec:
|
|||
{{ $labels.nodename }} is {{ $value | humanizePercentage }} full —
|
||||
the filesystem carrying this node's Forgejo runner dind data-root
|
||||
description: >-
|
||||
A forgejo-runner pod runs on {{ $labels.nodename }}, and the dind
|
||||
data-root lives under /opt/local-path-provisioner on this node's
|
||||
root filesystem, so CI images, build cache and named volumes fill
|
||||
the same disk as Forgejo/Postgres (siriussec) or the host Docker
|
||||
daemon (rpi). Per-PVC bytes cannot be measured here — kubelet 1.34+
|
||||
A forgejo-runner pod runs on {{ $labels.nodename }}, and its dind
|
||||
data-root is a directory under /opt/local-path-provisioner on this
|
||||
node's root filesystem (on siriussec:
|
||||
pvc-*_forgejo_forgejo-runner-amd64), so CI images, build cache and
|
||||
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
|
||||
404 — so this node-level rule is the guard. Inspect the offenders:
|
||||
`kubectl -n forgejo exec <runner-pod> -c dind -- docker system df -v`
|
||||
|
|
|
|||
Loading…
Reference in a new issue