monitoring: suppress the dead kubelet_volume_stats rules in kubernetes-storage

kube-prometheus-stack's kubernetes-storage group ships five rules; four of
them (both severities of KubePersistentVolumeFillingUp and of
KubePersistentVolumeInodesFillingUp) select kubelet_volume_stats_*. Those
series have no producer here: kubelet v1.36.4 404s on /metrics/volumes on all
three nodes (404s since kubelet 1.34, kubernetes/kubernetes#133847) and
count(kubelet_volume_stats_used_bytes) returns 0 series. The rules loaded fine
and reported health=ok/active=false, which reads as 'no PVC is filling' when
nothing can ever fire.

Disabled per rule via defaultRules.disabled (not by dropping the group): the
group's fifth alert, KubePersistentVolumeErrors, uses kube-state-metrics'
kube_persistentvolume_status_phase, which is live (40 series), so it stays.

Verified by rendering the chart with these values: group kubernetes-storage
now contains exactly one rule.
This commit is contained in:
Lance Walters 2026-10-27 02:22:46 -04:00
commit c2eb2b2fa3
3 changed files with 30 additions and 2 deletions

View file

@ -220,7 +220,13 @@ deploying another exporter.
20Gi is shown as *requested capacity* next to siriussec's root-filesystem usage,
which is the number that actually produced the DiskPressure evictions — and the
same filesystem is what `RunnerDindDiskHighWatermark` / `RunnerDindDiskCritical`
alert on, scoped to nodes that run a runner.
alert on, scoped to nodes that run a runner. The chart's own
`KubePersistentVolumeFillingUp` / `KubePersistentVolumeInodesFillingUp` rules
had the same defect and are suppressed too — both are listed under
`defaultRules.disabled` in `monitoring/controllers/home/values.yaml`, so the
`kubernetes-storage` group keeps only its live rule,
`KubePersistentVolumeErrors` (kube-state-metrics). No loaded rule in this
stack selects `kubelet_volume_stats_*`.
- **Single-instance Postgres.** Both clusters run `instances: 1`, so replication
lag, streaming replicas and in-recovery are structurally zero. The panels show
the zero and say why instead of being hidden.