argocd: fix prometheusrule
This commit is contained in:
@@ -41,6 +41,33 @@ argo-cd:
|
|||||||
enabled: true
|
enabled: true
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
rules:
|
||||||
|
enabled: true
|
||||||
|
spec:
|
||||||
|
- alert: ArgoAppMissing
|
||||||
|
expr: |
|
||||||
|
absent(argocd_app_info) == 1
|
||||||
|
for: 15m
|
||||||
|
labels:
|
||||||
|
severity: critical
|
||||||
|
annotations:
|
||||||
|
summary: "[Argo CD] No reported applications"
|
||||||
|
description: >
|
||||||
|
Argo CD has not reported any applications data for the past 15 minutes which
|
||||||
|
means that it must be down or not functioning properly. This needs to be
|
||||||
|
resolved for this cloud to continue to maintain state.
|
||||||
|
- alert: ArgoAppNotSynced
|
||||||
|
expr: |
|
||||||
|
argocd_app_info{sync_status!="Synced"} == 1
|
||||||
|
for: 12h
|
||||||
|
labels:
|
||||||
|
severity: warning
|
||||||
|
annotations:
|
||||||
|
summary: "[{{`{{$labels.name}}`}}] Application not synchronized"
|
||||||
|
description: >
|
||||||
|
The application [{{`{{$labels.name}}`}} has not been synchronized for over
|
||||||
|
12 hours which means that the state of this cloud has drifted away from the
|
||||||
|
state inside Git.
|
||||||
server:
|
server:
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -52,8 +79,6 @@ argo-cd:
|
|||||||
enabled: true
|
enabled: true
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
rules:
|
|
||||||
enabled: true
|
|
||||||
repoServer:
|
repoServer:
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -63,8 +88,6 @@ argo-cd:
|
|||||||
enabled: true
|
enabled: true
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
rules:
|
|
||||||
enabled: true
|
|
||||||
applicationSet:
|
applicationSet:
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -74,8 +97,6 @@ argo-cd:
|
|||||||
enabled: true
|
enabled: true
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
rules:
|
|
||||||
enabled: true
|
|
||||||
redis:
|
redis:
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -85,8 +106,6 @@ argo-cd:
|
|||||||
enabled: true
|
enabled: true
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
rules:
|
|
||||||
enabled: true
|
|
||||||
dex:
|
dex:
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -96,15 +115,11 @@ argo-cd:
|
|||||||
enabled: true
|
enabled: true
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
rules:
|
|
||||||
enabled: true
|
|
||||||
notifications:
|
notifications:
|
||||||
metrics:
|
metrics:
|
||||||
enabled: true
|
enabled: true
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
rules:
|
|
||||||
enabled: true
|
|
||||||
extraObjects:
|
extraObjects:
|
||||||
- apiVersion: external-secrets.io/v1
|
- apiVersion: external-secrets.io/v1
|
||||||
kind: ExternalSecret
|
kind: ExternalSecret
|
||||||
|
|||||||
Reference in New Issue
Block a user