Skip to content

Commit

Permalink
add cluster check alert
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-schndr authored and cadenmarchese committed Nov 7, 2023
1 parent 590cc52 commit c53b31c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkg/operator/controllers/muo/staticresources/muo_alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,13 @@ spec:
annotations:
summary: "UpgradeConfig has not successfully synced in 4 hours."
description: "This clusters UpgradeConfig has not been synced in 4 hours and may be out of date"
- alert: UpgradeClusterCheckFailedSRE
# Alert if the cluster has set its pre/post-upgrade health check failure metric for a ten-minute average window
expr: avg_over_time(upgradeoperator_cluster_check_failed[10m]) == 1
for: 10m
labels:
severity: critical
namespace: openshift-monitoring
annotations:
summary: "cluster check failed"
description: "basic cluster checks failed on either before the upgrade or after the upgrade"

0 comments on commit c53b31c

Please sign in to comment.