Skip to content

Multiple Managed Alertmanager and alerts centralisation #576

Answered by pintohutch
m4vr0x asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @m4vr0x,

Great questions.

I'm not sure to understand but static_configs.targets seems to be missing for the "external" alertmanager defined in the operator config?

We "hardcode" the static config for the managed alertmanager that comes with managed collection without using K8s service discovery. That's why that is there.

I believe the reason this isn't working is because the rule-evaluator is looking for Kubernetes Endpoint objects to discover your alertmanager gateway. Since it's an externalName service without selectors, those endpoints aren't created.

In order to support externalName services, we would need to add a feature - either to support static configs, as prometheus-operat…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@m4vr0x
Comment options

Comment options

You must be logged in to vote
4 replies
@m4vr0x
Comment options

@pintohutch
Comment options

Answer selected by m4vr0x
@m4vr0x
Comment options

@pintohutch
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants