On Tue, Mar 10, 2020 at 4:41 AM EnthuDeveloper <[email protected]> wrote: > > Hi There, > I am looking for some recommendations as to how we can manage alertmanager > configuration ( like webhook receiver details , feed alerts rules to > Prometheus etc. ) using Prometheus operator (helm charts ) ?? > > I see installing Prometheus operator installs Prometheus and Alertmanager > both but finding it hard to determine where is it getting the default > configuration from ? And how can it be tweaked to install custom > configuration as such,
As stated in the documentation [1], the alertmanager's configuration is taken from the secret specified by the configSecret field. If undefined, the Prometheus operator will look for a secret named "alertmanager-<alertmanager CR's name>" in the same namespace. This secret needs to have an alertmanager.yaml key as in this example [2]. [1] https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#alertmanagerspec [2] https://github.com/coreos/kube-prometheus/blob/master/manifests/alertmanager-secret.yaml > > Any inputs would be much appreciated. > > > Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-developers/58b31634-95c8-4b98-9eae-1703103c69d8%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "Prometheus Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/CAM6RFu7mzA8oLVjQhgVY71qf_GweR5O_gV89CgMqL1EErhchQw%40mail.gmail.com.

