diff --git a/helm/prometheus-meta-operator/templates/prometheus-rules/disk.management-cluster.rules.yml b/helm/prometheus-meta-operator/templates/prometheus-rules/disk.management-cluster.rules.yml index 8cdd94559..67e1534d3 100644 --- a/helm/prometheus-meta-operator/templates/prometheus-rules/disk.management-cluster.rules.yml +++ b/helm/prometheus-meta-operator/templates/prometheus-rules/disk.management-cluster.rules.yml @@ -61,7 +61,7 @@ spec: annotations: description: '{{`Persistent volume {{ $labels.mountpoint}} on {{ $labels.instance }} does not have enough free space.`}}' opsrecipe: low-disk-space/#persistent-volume - expr: 100 * ((node_filesystem_free_bytes{mountpoint=~"(/rootfs)?/var/lib/kubelet.*"} / node_filesystem_size_bytes{mountpoint=~"(/rootfs)?/var/lib/kubelet.*"}) * on (pod_id) label_replace(kube_pod_info{priority_class!="prometheus"}, "pod_id", "$1", "uid", "(.*)")) < 10 + expr: 100 * ((node_filesystem_free_bytes{mountpoint=~"(/rootfs)?/var/lib/kubelet.*"} / node_filesystem_size_bytes{mountpoint=~"(/rootfs)?/var/lib/kubelet.*"}) * on (pod_id) group_left label_replace(kube_pod_info{priority_class!="prometheus"}, "pod_id", "$1", "uid", "(.*)")) < 10 for: 10m labels: area: kaas @@ -85,7 +85,7 @@ spec: annotations: description: '{{`Persistent volume {{ $labels.mountpoint}} on {{ $labels.instance }} does not have enough free space.`}}' opsrecipe: low-disk-space/#persistent-volume - expr: 100 * ((node_filesystem_free_bytes{mountpoint=~"(/rootfs)?/var/lib/kubelet.*"} / node_filesystem_size_bytes{mountpoint=~"(/rootfs)?/var/lib/kubelet.*"}) * on (pod_id) label_replace(kube_pod_info{priority_class="prometheus"}, "pod_id", "$1", "uid", "(.*)")) < 10 + expr: 100 * ((node_filesystem_free_bytes{mountpoint=~"(/rootfs)?/var/lib/kubelet.*"} / node_filesystem_size_bytes{mountpoint=~"(/rootfs)?/var/lib/kubelet.*"}) * on (pod_id) group_left label_replace(kube_pod_info{priority_class="prometheus"}, "pod_id", "$1", "uid", "(.*)")) < 10 for: 10m labels: area: empowerment