Enable multiple Alertmanagers under "alertmanagersConfig" #8416
Unanswered
l4pg
asked this question in
Questions & Answers
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I currently have my thanos ruler connected to an Alertmanager running in my own cluster, same namespace and all. This was successfully configured under
alertmanagers
just listing the endpoint and it worked fine.I now need to add a second Alertmanager to push alerts to but this second one runs in a different cluster and requires basic auth. So just adding that endpoint to my existing
alertmanagers
list didn't work as I wasn't able to pass the creds to it.I followed the documentation and used
alertmanagersConfig
to have the details configured as required but I wasn't able to make it work as expected - although I'm able to template thealertmanagers_config.yml
successfully as a secret the thanos ruler pods just don't seem to take that config file successfully at all - I suspect I'm getting some detail incorrect in my specific use case but I wasn't able to find any similar example so hopefully folks here could point me to the proper config. MyalertmanagersConfig
block looks like this:Is anyone configuring
alertmanagersConfig
successfully? If you could kindly share some examples I would be very grateful.Beta Was this translation helpful? Give feedback.
All reactions