CertGrid CertGrid
Hands-on Lab·Kubernetes and Cloud Native Associate

Default Alerting Rules and Alert Tuning

A fresh kube-prometheus-stack fires nineteen alerts on a working cluster. One of them is firing on purpose, several are the localhost-binding problem, and the rest are why alert fatigue starts on day one. Then write a rule of your own and watch it load.

Observability Guide 39 of 46 Intermediate

Alert names come from kube-prometheus-stack and change between chart versions. The counts are from this cluster.

Alertmanager and Grafana come with kube-prometheus-stack. Neither is exposed - both are queried from a Pod in the same namespace.
Server NameIP AddressOSRolesCPURAMHDD
CKA1001192.168.0.175Ubuntu 26.04 LTSControl Plane Node2 Core4 GB50 GB
CKA1001-NODE01192.168.0.176Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB

This guide includes

Use this when a new monitoring install is already firing alerts nobody can act on. This matters because default rules assume a cluster that does not exist yet, and alerts nobody acts on train people to ignore all of them.

Before you start

  1. Count what is firing

  2. Alertmanager has them too

  3. A rule of your own

  4. It loaded, and it is firing

Official sources