Squashed 'cluster-config/' content from commit 654f2390
git-subtree-dir: cluster-config git-subtree-split: 654f23903bd1f9a27a4810bd289d165b6cfdbb0c
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PrometheusRule
|
||||
metadata:
|
||||
name: argocd-unhealthy-alert
|
||||
annotations:
|
||||
policy.open-cluster-management.io/disable-templates: "true"
|
||||
spec:
|
||||
groups:
|
||||
- name: ArgoCD
|
||||
rules:
|
||||
- alert: ArgoCDHealthAlert
|
||||
annotations:
|
||||
message: ArgoCD application {{ $labels.name }} is not healthy
|
||||
expr: argocd_app_info{namespace="openshift-gitops", health_status!~"Healthy|Suspended|Progressing|Degraded"} > 0
|
||||
for: 5m
|
||||
labels:
|
||||
severity: warning
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PrometheusRule
|
||||
metadata:
|
||||
name: argocd-degraded-alert
|
||||
annotations:
|
||||
policy.open-cluster-management.io/disable-templates: "true"
|
||||
spec:
|
||||
groups:
|
||||
- name: ArgoCD
|
||||
rules:
|
||||
- alert: ArgoCDDegradedAlert
|
||||
annotations:
|
||||
message: ArgoCD application {{ $labels.name }} is degraded
|
||||
expr: argocd_app_info{namespace="openshift-gitops", health_status="Degraded"} > 0
|
||||
for: 5m
|
||||
labels:
|
||||
severity: critical
|
||||
Reference in New Issue
Block a user