You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi There, we are using Kube-prometheus-stack Helm chart to create prometheus rules and all. During this process, CRD: prometheusrules.monitoring.coreos.com creates prometheusrules. We deploy these changes through GitOps(Flux)
The prometheusrules can be changed manually only. What we want to do is to do it from GitOps repository. But The only way to do is to put the whole prometheusrules file and there change the specific section of alert that needs to be changed. If we keep only one, which needs to be updated, once it gets applied, it removes rest of the default rules. This is not ideal.
I would like to have a feature that would patch the specific rules from prometheusrules and update only that rule only.
Describe the solution you'd like.
Provide editable prometheus rules to update those sections, when needed. Something in line with : additionalPrometheusRulesMap, where we will be able to update the default rules
Describe alternatives you've considered.
I have put the whole prometheusrules file and there change the specific section of alert that needs to be changed. If we keep only one, which needs to be updated, once it gets applied, it removes rest of the default rules.
Additional context.
No response
The text was updated successfully, but these errors were encountered:
zeritti
changed the title
Feature to update the default prometheusrules, like CPUThrottlingHigh value
[kube-prometheus-stack] Feature to update the default prometheusrules, like CPUThrottlingHigh value
May 5, 2024
Is your feature request related to a problem ?
Hi There, we are using Kube-prometheus-stack Helm chart to create prometheus rules and all. During this process, CRD: prometheusrules.monitoring.coreos.com creates prometheusrules. We deploy these changes through GitOps(Flux)
The prometheusrules can be changed manually only. What we want to do is to do it from GitOps repository. But The only way to do is to put the whole prometheusrules file and there change the specific section of alert that needs to be changed. If we keep only one, which needs to be updated, once it gets applied, it removes rest of the default rules. This is not ideal.
I would like to have a feature that would patch the specific rules from prometheusrules and update only that rule only.
Describe the solution you'd like.
Provide editable prometheus rules to update those sections, when needed. Something in line with : additionalPrometheusRulesMap, where we will be able to update the default rules
Describe alternatives you've considered.
I have put the whole prometheusrules file and there change the specific section of alert that needs to be changed. If we keep only one, which needs to be updated, once it gets applied, it removes rest of the default rules.
Additional context.
No response
The text was updated successfully, but these errors were encountered: