Skip to content
You are reading dev: the documentation of main, not yet released. Read the last release.

Alert rules

With monitoring’s alerting on, vmalert loads every VMRule in the cluster: nothing to write, nothing to turn on one by one. Most come from upstream, the rules kube-prometheus-stack installs and VictoriaMetrics’ for the stack itself, downloaded by the chart’s sync job at the tags the socle pins; a few are the socle’s, for what upstream does not cover. Measured on k3s, 2026-10-12: 211 rules loaded and healthy, 158 of them alerting, with logs on; 209 since the chart 0.96.0, which drops the two kube-prometheus-general.rules.

Severity is upstream’s. info goes to the socle’s null receiver, and a critical alert holds back the warning of the same name and namespace. Route severity="critical" to your on-call. A noisy alert is muted with a route of yours to null.

kube-prometheus v0.19.0, the source of kube-prometheus-stack’s rules, on what vmagent scrapes: kube-state-metrics, node-exporter, the kubelets and cAdvisor.

GroupAlertsWatches
kubernetes-apps17pods crash-looping or not ready, Deployments, StatefulSets, DaemonSets and Jobs short of what they want, HPAs maxed out
kubernetes-resources8CPU and memory overcommitted, quotas nearly or fully used, CPU throttling
kubernetes-storage5PersistentVolumes filling up or out of inodes, in error
kubernetes-system2version mismatch, client errors
kubernetes-system-kubelet16nodes not ready or unreachable, too many pods, evictions, kubelet down, PLEG and pod start latency, certificates
node-exporter26filesystems filling, out of inodes, network errors, clock skew, memory and CPU saturation, read-only filesystems
node-network1a network interface flapping
kube-state-metrics4kube-state-metrics’ own list and watch errors, shards
alertmanager.rules9Alertmanager failing to reload or to send
general.rules2Watchdog, InfoInhibitor; its TargetDown is replaced by the socle’s

Recording rules feed them and Grafana’s dashboards: k8s.rules.*, node-exporter.rules, node.rules, kubelet.rules, kube-prometheus-node-recording.rules. The chart turns kube-prometheus-general.rules (count:up1, count:up0) off since 0.96.0; no dashboard reads them. On gcp, which runs no node-exporter, kube-prometheus-node-recording.rules and the four node.rules that read it are off too: they would record nothing, and RecordingRulesNoData would fire for each.

VictoriaMetrics v1.154.0, the operator v0.75.0, VictoriaLogs v1.53.0 and VictoriaTraces v0.10.0, for the stack itself.

GroupAlertsWatches
vmsingle11disk running out, churn, slow inserts, the series guard
vm-health12restarts, errors, too many logs, memory
vmagent15remote-write failures, dropped samples; TooManyScrapeErrors off
vmalert12rules failing to evaluate or to reload, notifications failing
vmoperator3the operator’s reconcile errors
VictoriaLogs’ groupswith logs on: VictoriaLogs’ health and ingestion
VictoriaTraces’ groupswith traces on: VictoriaTraces’ health and ingestion

For what no upstream source covers, as VMRules in the module that owns the metric, checked with vmalert -dryRun in CI.

GroupAlertsShips inWatches
socle-flux4oci/catalog/monitoring/rules/flux.yamlKustomizations, HelmReleases and sources not Ready, from awesome-prometheus-alerts; catalog modules (ResourceSets) not Ready
socle-targets1oci/catalog/monitoring/rules/targets.yamlTargetDown, kube-prometheus’ less the targets of a node that is cordoned, not Ready or already deleted
opentelemetry-collector13oci/catalog/otel-gateway/rules/opentelemetry-collector.yamlboth collectors down, out of memory, refusing or failing to send, their queues full; awesome-prometheus-alerts as written

Each in the module’s monitoring/ folder, present only while the module and monitoring are both on (MONITORING-12).

ModuleRulesFrom
argocd9awesome-prometheus-alerts, argocd/embedded-exporter.yml: applications out of sync or unhealthy, sync and git fetch failures, slow reconciliation
argocd_image_updater2the socle: image updates failing, registry requests failing
crossplane2the socle: managed resources not Ready, not Synced
external_dns2the socle: no successful sync for an hour, source or registry errors
external_secrets2the socle: an ExternalSecret not Ready, a store not Ready
karpenter5the socle: an EC2NodeClass or a NodePool not Ready, a NodePool near its limits, EC2 calls failing, pods no NodePool can place
keda3the chart’s example (scaler errors), and the socle: ScaledObject and ScaledJob errors
kyverno3the chart’s examples: admission latency, policy execution latency
reloader1the socle: a reload that failed
velero4the chart’s examples: a backup failed, failing for 12 hours, none in 25 hours (hourly and daily schedules), partial failures
Upstream groupWhy
etcd, kube-apiserver-slos, kube-apiserver-burnrate.rules, kube-apiserver-histogram.rules, kubernetes-system-apiserver, kubernetes-system-controller-manager, kubernetes-system-scheduler, kube-scheduler.rules, kubernetes-system-kube-proxyThe control plane is the cloud’s: not scraped, so nothing to read
kube-apiserver-availability.rulesRecording rules over the API server’s metrics, which are not scraped
prometheus, prometheus-operator, config-reloadersNo Prometheus, no prometheus-operator
windowsNo Windows nodes
Upstream alertWhy
TargetDown (general.rules)A ratio per job that counts the targets of a node going away until the node is gone: with Autopilot or Karpenter replacing nodes, one dying node after another kept a job past 10 % down. The socle’s socle-targets replaces it
KubeCPUOvercommit, KubeMemoryOvercommit (kubernetes-resources), on gcp onlyWhether the pods’ requests survive losing the largest node: GKE Autopilot sizes nodes to the pods and adds them on demand, so both fire on a healthy cluster
TooManyScrapeErrors (vmagent)Every failed scrape cluster-wide, a dying node’s included, with no label to tell them apart; what it means, TargetDown says per job