fluxcd : adding repo example with some apps
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PrometheusRule
|
||||
metadata:
|
||||
labels:
|
||||
release: prometheus
|
||||
name: alerts-flux.rules
|
||||
namespace: monitoring
|
||||
spec:
|
||||
groups:
|
||||
- name: Flux
|
||||
rules:
|
||||
- alert: ReconciliationFailure
|
||||
expr: max(gotk_reconcile_condition{status="False",type="Ready"}) by (exported_namespace, name, kind) + on(exported_namespace, name, kind) (max(gotk_reconcile_condition{status="Deleted"}) by (exported_namespace, name, kind)) * 2 == 1
|
||||
for: 10m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: '{{ $labels.kind }} {{ $labels.exported_namespace }}/{{ $labels.name }} reconciliation has been failing for more than ten minutes.'
|
||||
Reference in New Issue
Block a user