inhib longhorn volumes space alerts

This commit is contained in:
auricom
2020-12-18 12:39:14 +01:00
parent cb662152ad
commit 4571813a7a

View File

@@ -28,16 +28,16 @@ spec:
groups:
- name: longhorn.rules
rules:
- alert: LonghornVolumeActualSpaceUsedWarning
annotations:
description: The actual space used by Longhorn volume {{$labels.volume}} on {{$labels.node}} is at {{$value}}% capacity for
more than 5 minutes.
summary: The actual used space of Longhorn volume is over 90% of the capacity.
expr: (longhorn_volume_actual_size_bytes / longhorn_volume_capacity_bytes) * 100 > 90
for: 5m
labels:
issue: The actual used space of Longhorn volume {{$labels.volume}} on {{$labels.node}} is high.
severity: warning
#- alert: LonghornVolumeActualSpaceUsedWarning
# annotations:
# description: The actual space used by Longhorn volume {{$labels.volume}} on {{$labels.node}} is at {{$value}}% capacity for
# more than 5 minutes.
# summary: The actual used space of Longhorn volume is over 90% of the capacity.
# expr: (longhorn_volume_actual_size_bytes / longhorn_volume_capacity_bytes) * 100 > 90
# for: 5m
# labels:
# issue: The actual used space of Longhorn volume {{$labels.volume}} on {{$labels.node}} is high.
# severity: warning
- alert: LonghornVolumeStatusCritical
annotations:
description: Longhorn volume {{$labels.volume}} on {{$labels.node}} is Fault for