From 41e286419927bc3d638b348e224b06776a250f52 Mon Sep 17 00:00:00 2001 From: Igor Rzegocki Date: Sun, 4 Feb 2024 22:29:04 +0100 Subject: [PATCH] fix(monitoring): less restrictive talos free disk space alerts --- .../kube-prometheus-stack/files/nodeexporter.rules.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubernetes/apps/monitoring/kube-prometheus-stack/files/nodeexporter.rules.yaml b/kubernetes/apps/monitoring/kube-prometheus-stack/files/nodeexporter.rules.yaml index 0c916c0f4..daa38f803 100644 --- a/kubernetes/apps/monitoring/kube-prometheus-stack/files/nodeexporter.rules.yaml +++ b/kubernetes/apps/monitoring/kube-prometheus-stack/files/nodeexporter.rules.yaml @@ -154,7 +154,7 @@ rules: - alert: TalosSystemDiskLowSpace expr: >- - node_filesystem_free_bytes{mountpoint="/var"} / node_filesystem_size_bytes{mountpoint="/var"} < 0.3 + node_filesystem_free_bytes{mountpoint="/var"} < 15*1024*1024*1024 for: 5m labels: severity: warning @@ -165,7 +165,7 @@ rules: - alert: TalosSystemDiskVeryLowSpace expr: >- - node_filesystem_free_bytes{mountpoint="/var"} / node_filesystem_size_bytes{mountpoint="/var"} < 0.15 + node_filesystem_free_bytes{mountpoint="/var"} < 5*1024*1024*1024 for: 5m labels: severity: critical