I'm using the official stable/prometheus-operator chart do deploy Prometheus with helm.
It's working good so far, except for the annoying CPUThrottlingHigh
alert that is firing for many pods (including the own Prometheus' config-reloaders containers). This alert is currently under discussion, and I want to silence its notifications for now.
The Alertmanager has a silence feature, but it is web-based:
Silences are a straightforward way to simply mute alerts for a given time. Silences are configured in the web interface of the Alertmanager.
There is a way to mute notifications from CPUThrottlingHigh
using a config file?
cfs
and thethrottle
metric, but the alert itself and its threshold is still controversial and diverges opinions...For now, I just want to silence it without depending on the AlertManager web interface. – AccreteCPUThrottlingHigh
rule; it’s all or nothing (viadefaultRules.rules.k8s
helm config parameter) – Accrete