-
Notifications
You must be signed in to change notification settings - Fork 820
Alertmanager: Deprecate (but keep compatibility) of cluster flags #3677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alertmanager: Deprecate (but keep compatibility) of cluster flags #3677
Conversation
b172430
to
e0ac521
Compare
I spent some time trying to debug the integration test w/o much luck. It seems like the DNS resolver for docker is not working as expected on CI as the past pass locally. My understanding is that Docker uses the host's |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You did great! LGTM with a couple of nits.
I'm now going to look into the integration test issue.
To keep compatibility across platforms, a container needs to be address by the host I've refactored the code and fixed it (see commit). |
7076474
to
7ab057c
Compare
Deprecates flags with the cluster prefix within the Alertmanager. I've opted for a "high-availability" nomenclature which feel a bit more aligned with what the flags are actually doing. Signed-off-by: gotjosh <josue@grafana.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Co-authored-by: Marco Pracucci <marco@pracucci.com> Signed-off-by: gotjosh <josue@grafana.com>
Signed-off-by: gotjosh <josue@grafana.com>
7ab057c
to
e62f069
Compare
Thanks @pracucci, I initially suspected it had something to do with that but when I inspected the return value of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Is it worth mentioning that old flags still take precedence, if set to non-default values?
…rtexproject/cortex#3677) * Alertmanager: Deprecate (but keep compatibility) of cluster flags Deprecates flags with the cluster prefix within the Alertmanager. I've opted for a "high-availability" nomenclature which feel a bit more aligned with what the flags are actually doing. Signed-off-by: gotjosh <josue@grafana.com> * Fixed integration test Signed-off-by: Marco Pracucci <marco@pracucci.com> * Apply suggestions from code review Co-authored-by: Marco Pracucci <marco@pracucci.com> Signed-off-by: gotjosh <josue@grafana.com> * Address review comments Signed-off-by: gotjosh <josue@grafana.com> Co-authored-by: Marco Pracucci <marco@pracucci.com>
What this PR does:
Deprecates flags with the cluster prefix within the Alertmanager. I've
opted for a "high-availability" nomenclature which feel a bit more
aligned with what the flags are actually doing.
Signed-off-by: gotjosh josue@grafana.com
Which issue(s) this PR fixes:
Fixes #3670
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]