mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-02 08:47:17 +02:00
inhib longhorn volumes space alerts
This commit is contained in:
@@ -28,16 +28,16 @@ spec:
|
|||||||
groups:
|
groups:
|
||||||
- name: longhorn.rules
|
- name: longhorn.rules
|
||||||
rules:
|
rules:
|
||||||
- alert: LonghornVolumeActualSpaceUsedWarning
|
#- alert: LonghornVolumeActualSpaceUsedWarning
|
||||||
annotations:
|
# annotations:
|
||||||
description: The actual space used by Longhorn volume {{$labels.volume}} on {{$labels.node}} is at {{$value}}% capacity for
|
# description: The actual space used by Longhorn volume {{$labels.volume}} on {{$labels.node}} is at {{$value}}% capacity for
|
||||||
more than 5 minutes.
|
# more than 5 minutes.
|
||||||
summary: The actual used space of Longhorn volume is over 90% of the capacity.
|
# 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
|
# expr: (longhorn_volume_actual_size_bytes / longhorn_volume_capacity_bytes) * 100 > 90
|
||||||
for: 5m
|
# for: 5m
|
||||||
labels:
|
# labels:
|
||||||
issue: The actual used space of Longhorn volume {{$labels.volume}} on {{$labels.node}} is high.
|
# issue: The actual used space of Longhorn volume {{$labels.volume}} on {{$labels.node}} is high.
|
||||||
severity: warning
|
# severity: warning
|
||||||
- alert: LonghornVolumeStatusCritical
|
- alert: LonghornVolumeStatusCritical
|
||||||
annotations:
|
annotations:
|
||||||
description: Longhorn volume {{$labels.volume}} on {{$labels.node}} is Fault for
|
description: Longhorn volume {{$labels.volume}} on {{$labels.node}} is Fault for
|
||||||
|
Reference in New Issue
Block a user