Skip to content

Alert Runbooks

One page per alert that this repository owns and that opts in as an incident (incident: "true", ADR 0018). The alert's runbook_url points here. Each page says what the alert means, the read-only checks to run first, and how to roll forward or back. The rules of engagement of the ops runbook apply to every page.

Every command names its cluster (rule 8). Pages for alerts that fire only on hetzner-mgmt (Gitea, Harbor, OpenBao, object storage, the blackbox probes) write --context admin@mgmt-cluster. The other pages write --context <context>: replace it with the context for the alert's cluster label, admin@mgmt-cluster for hetzner-mgmt or webshop for webshop.

Alert Severity Rule
ContainerOOMKilled warning components/prometheus-stack/config/prometheus-rules.yaml
PodEvicted warning same
NodeEphemeralStorageLow warning same
NodeMemoryEvictionsFrequent warning same
CertificateExpiringSoon warning under 14 days, critical under 3 days same
CertificateNotReady warning same
ExternalSecretNotReady warning same
ProbeFailed critical same, on the Probes of Blackbox exporter
GiteaAPISlow warning same
OpenBaoSnapshotFailed warning same, on the CronJob of OpenBao backups
OpenBaoRestoreDrillFailed critical same
OpenBaoPreupgradeGateFailed critical same, on the gate Job of OpenBao backups
GiteaPushMirrorFailing warning same
FluxNotReady warning same, on gotk_resource_info from kube-state-metrics. Its runbook_url is the ops runbook section flux2 self-upgrade fails with context canceled (owner's decision on #3400)
CNPGRestoreDrillFailed critical components/cloudnative-pg/drill-alerts/prometheus-rule.yaml
CNPGWALArchivingFailing critical same
CNPGBackupStale warning same
GiteaActionsStalled warning components/gitea/actions-exporter/prometheus-rule.yaml
HarborRegistryStorageErrors critical components/harbor/base/prometheus-rule.yaml
ObjectStorageApproachingIncludedCapacity warning cluster/hetzner-mgmt/prometheus-stack/manifests/prometheus-rule.yaml
ObjectStorageExporterFailed warning same
HarborBucketNearUpgradeGateBound warning same

Opted-in upstream alerts (the kube-prometheus-stack groups kubernetesApps and kubernetesStorage, e.g. KubePodCrashLooping or KubePersistentVolumeFillingUp) keep their upstream runbook_url on runbooks.prometheus-operator.dev. When their cause is a failed deploy, go on with the ops runbook's triage order. KubeJobFailed for a Job that Flux applies or a CronJob creates has its own ops runbook section.

How to add an alert to this list is in Prometheus stack.