From 04a96955c06fd0fcb0c28650f17682ec1a44763d Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sat, 28 Mar 2026 01:14:05 +0200 Subject: [PATCH] fix: exclude NFS PVs from PVFillingUp alert NFS PVs report the entire NFS server filesystem usage (e.g., navidrome-music shows 5.3 TiB Synology volume at 97%), not PVC-specific usage. Filter out PVs with >1TiB capacity (always NFS mounts; iSCSI PVCs are 10-50Gi). --- .../monitoring/modules/monitoring/prometheus_chart_values.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacks/monitoring/modules/monitoring/prometheus_chart_values.tpl b/stacks/monitoring/modules/monitoring/prometheus_chart_values.tpl index 63461cb7..9f5b0f0d 100755 --- a/stacks/monitoring/modules/monitoring/prometheus_chart_values.tpl +++ b/stacks/monitoring/modules/monitoring/prometheus_chart_values.tpl @@ -472,7 +472,7 @@ serverFiles: annotations: summary: "Disk {{ $labels.mountpoint }} on {{ $labels.instance }}: {{ $value | printf \"%.1f\" }}% free (threshold: 10%)" - alert: PVFillingUp - expr: (kubelet_volume_stats_used_bytes / kubelet_volume_stats_capacity_bytes) * 100 > 95 + expr: (kubelet_volume_stats_used_bytes / kubelet_volume_stats_capacity_bytes) * 100 > 95 and kubelet_volume_stats_capacity_bytes < 1099511627776 for: 30m labels: severity: warning