Handle Alerts Provisioning in K8s in same way it's done for Dashboards and Datasources #61603
Replies: 3 comments 12 replies
-
|
Hi @JohnnyQQQQ, what you think about such idea? |
Beta Was this translation helpful? Give feedback.
-
|
@dragoangel It's ok for me for the dashboards but I didn't manage to make it work for the Alerts. Can you post the yaml of a config map pushing a rule ? It would be very helpful Regards |
Beta Was this translation helpful? Give feedback.
-
|
Hey there! We want to let you all know that we are moving to Github Issues for feature requests. You can read more about the move here. I will be closing this discussion, but if you’re still interested in this request being implemented please don’t hesitate to open a feature request. Sorry for the inconvenience, and thanks for your contributions! cc @grafana/alerting-squad |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Idea
It will be much better if Grafana will have dedicated
grafana-sc-alertscontainer which will have the possibility to find alerts configmaps in any K8s Namespace bygrafana_alert=1label which will allow people to create own Helm charts with both Project, it's Grafana dashboards and alerts in the same place, in own Namespace.How its done now in Grafana 9.3
Mount
ConfigMapto/etc/grafana/provisioning/alertingfolder of Grafana container.Problematic of current implementation (Grafana 9.3)
Having all alerts in one Helm chart (for example
kube-prometheus-stack) will create big secret quickly which will reach K8s API limits and developers will have to develop many Helms to separate alerts in a smaller charts. These charts need to be deployed in the same namespace with Grafana and Grafana needs to mount all of them in the provisioning folder viavalues.yamlofkube-prometheus-stack. This is not a nice approach that in end someday will lead to missed mount and not user friendly in general.I'd better add a comment here: #39510 but the discussion is locked.
Beta Was this translation helpful? Give feedback.
All reactions