diff --git a/charts/base-cluster/templates/backup/velero.yaml b/charts/base-cluster/templates/backup/velero.yaml index 1d1abea02..c29e659e3 100644 --- a/charts/base-cluster/templates/backup/velero.yaml +++ b/charts/base-cluster/templates/backup/velero.yaml @@ -91,25 +91,6 @@ spec: {{- end }} volumeSnapshotLocation: [] metrics: - prometheusRule: - autodetect: false - additionalLabels: {{- .Values.monitoring.labels | toYaml | nindent 10 }} - enabled: {{ .Values.monitoring.prometheus.enabled }} - spec: - - alert: VeleroBackupPartialFailures - annotations: - message: Velero backup {{ `{{ $labels }}`.schedule }} has {{ `{{ $value }}` | humanizePercentage }} partialy failed backups. - expr: velero_backup_partial_failure_total{schedule!=""} / velero_backup_attempt_total{schedule!=""} > 0.25 - for: 15m - labels: - severity: warning - - alert: VeleroBackupFailures - annotations: - message: Velero backup {{ `{{ $labels }}`.schedule }} has {{ `{{ $value }}` | humanizePercentage }} failed backups. - expr: velero_backup_failure_total{schedule!=""} / velero_backup_attempt_total{schedule!=""} > 0.25 - for: 15m - labels: - severity: warning serviceMonitor: autodetect: false enabled: {{ .Values.monitoring.prometheus.enabled }}