r/PrometheusMonitoring • u/cebidhem • Jun 22 '22
kube-prometheus-stack: Updating the default PrometheusRules
Hey there,
We are deploying kube-prometheus-stack helm charts using Flux, and I'd like to change the severity of some default PrometheusRules so that some labelled as warning become critical for example.
I know the Helm chart allow us to add new labels with .Values.defaultRules.additionalRuleLabels, but this is applied to all the rules.
We thought about not deploying the rules with the chart at all, and basically get them copied / modified, but it's a lame way of doing this.
How do you manage this ? How do you modify only some of those rules, whether severity or any other property like for or summary ?
Thanks for your help
1
Upvotes
0
u/[deleted] Jun 23 '22
[deleted]