Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion charts/base-cluster/templates/backup/velero.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,7 @@ spec:
expr: velero_backup_last_status{schedule!=""} != 1
for: 15m
labels:
severity: warning
severity: critical
period: WorkingHours

{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ spec:
certmanager_certificate_expiration_timestamp_seconds and (certmanager_certificate_expiration_timestamp_seconds - time() <= (60 * 60 * 24 * 14))
for: 5m
labels:
severity: warning
severity: critical
period: WorkingHours
- alert: CertificateExpiringSoon
annotations:
description: {{ "Certificate {{ $labels.exported_namespace }}/{{ $labels.name }} will expire in less than 1 week. The certificate will expire at {{ humanizeTimestamp $value }}" | quote }}
Expand All @@ -34,4 +35,5 @@ spec:
for: 5m
labels:
severity: critical
period: WorkingHours
{{- end -}}
4 changes: 3 additions & 1 deletion charts/base-cluster/templates/flux/rules/flux-status.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ spec:
gotk_reconcile_condition_info{type="Ready",status="False"} == 1
for: 10m
labels:
severity: warning
severity: critical
period: WorkingHours
- alert: MetricsMissing
annotations:
description: The flux metrics are missing
Expand All @@ -34,4 +35,5 @@ spec:
for: 5m
labels:
severity: critical
period: WorkingHours
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ spec:
wf_k8s_deployed_releases_with_deprecated_api_version > 0
for: 5m
labels:
severity: warning
severity: critical
period: WorkingHours
- alert: ReleasesHaveRemovedAPIs
annotations:
description: {{ "{{ $value }} releases have removed APIs." | quote }}
Expand All @@ -34,4 +35,5 @@ spec:
for: 5m
labels:
severity: critical
period: WorkingHours
{{- end -}}
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ spec:
sum(kube_persistentvolumeclaim_resource_requests_storage_bytes{namespace="nfs-server-provisioner",persistentvolumeclaim="data-nfs-server-provisioner-0"})) > 0
for: 1m
labels:
severity: warning
severity: critical
period: WorkingHours
{{- end }}
Loading