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).
This commit is contained in:
parent
ae21502698
commit
04a96955c0
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue