Files
infrastructure/clusters/cl01tl/helm/volsync/templates/prometheus-rule.yaml
Alex Lebens e104eae55e
Some checks failed
lint-test-helm / lint-helm (pull_request) Successful in 9m13s
lint-test-helm / validate-kubeconform (pull_request) Failing after 10m43s
feat: convert many
2026-04-21 20:47:16 -05:00

31 lines
893 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
name: volsync
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: volsync
{{- include "custom.labels" . | nindent 4 }}
spec:
groups:
- name: volsync.rules
rules:
- alert: VolSyncComponentAbsent
annotations:
summary: VolSync component has disappeared from Prometheus target discovery.
expr: |
absent(up{job="volsync-metrics"})
for: 15m
labels:
severity: critical
- alert: VolSyncVolumeOutOfSync
annotations:
summary: >-
"{{ `{{ $labels.obj_namespace }}` }}/"{{ `{{ $labels.obj_name }}` }} volume
is out of sync.
expr: |
volsync_volume_out_of_sync == 1
for: 15m
labels:
severity: critical