Skip to content
Snippets Groups Projects
Verified Commit 6c1949a1 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

chore(longhorn): Extend alert trigger duration

This patch extends the duration for the longhorn-share alert, that was
hotfixed with the hotfix-7183 cronjob. Since the cronjob runs every 5
minutes, this patch extends the alert to 10 minutes to catch possible
hotfix failures.
parent 506c374a
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ spec:
description: Longhorn share manager count is off by {{$value}}. This is likely due to a recent bug in Longhorn. https://github.com/longhorn/longhorn/issues/7183#issuecomment-1823715359
summary: Longhorn share manager count is off by {{$value}} for 5m.
expr: count(sum by (namespace, persistentvolumeclaim) (kube_persistentvolumeclaim_access_mode{access_mode="ReadWriteMany"}) * on (namespace, persistentvolumeclaim) group_right kube_persistentvolumeclaim_info{storageclass=~"longhorn.*"}) - sum(kube_pod_info{namespace="longhorn-system", pod=~"share-manager-.*"}) > 0
for: 5m
for: 10m
labels:
issue: Longhorn share manager count is off by {{$value}} for 5m.
severity: critical
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment