Manage prometheus configuration using Prometheus operator

33 views
Skip to first unread message

Nitin

unread,
Mar 19, 2020, 6:12:49 PM3/19/20
to Prometheus Users
Hello,
I am looking for some recommendations as to how Prometheus configuration (like providing our custom alert rules and reload the alert rules dynamically if the alert rules files sees some modifications ) be managed using Prometheus operator (helm charts ) ??
Installing Prometheus using Prometheus operator generates default configuration for it so trying to custom feed it using values.yaml file of Prometheus operator.
Any suggestions would be greatly appreciated.

Thanks.

赵一晗

unread,
Apr 24, 2020, 4:58:44 AM4/24/20
to Prometheus Users
About alertmanager configuration,you can find  alertmanager`s   secret  ,and using base64 decoder data you could look alertmanager`s configing.So you can delete it and create new one by your custom configuration.  And another configuration,for example  alert rule,you could  use  this command  'kubectl get  prometheusrules -A'    to find all alert rules, of course,you can delete or update them.
All the above operations,prometheus or alertmanager  will automatically load  。

                      
在 2020年3月20日星期五 UTC+8上午6:12:49,Nitin写道:
Reply all
Reply to author
Forward
0 new messages