Skip to content
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] Add additional configuration options. #3620

Merged
merged 16 commits into from
Aug 7, 2023

Conversation

sam-mcbr
Copy link
Contributor

What this PR does / why we need it

This PR fixes a bug when trying to deploy alertmanager HA. The cluster port is set to 9094 but the StatefulSet only ever exposes 9093. This PR additionally adds some extra configuration options at allow more flexible uses of the config-reloader.

Which issue this PR fixes

Special notes for your reviewer

Would love to get this merged quickly as the port issue is a blocker for me deploy the chart. Happy to discuss and iterate on this if needed! Thanks!

Checklist

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [prometheus-couchdb-exporter])

Signed-off-by: Sam Mcbroom <[email protected]>
@sam-mcbr
Copy link
Contributor Author

@monotek @naseemkullah Don't mean to be a bother, but I would love to try to get a fix in so I can run in HA quickly so I can deploy this. I'm more than happy to make any necessary edits/improvements. Just wanted to give a heads up that this is a priority for me 😄

@sam-mcbr
Copy link
Contributor Author

And apologies, I did just notice a few other config options that would be useful so I added those. But this is ready to go now, thanks!

naseemkullah
naseemkullah previously approved these changes Jul 23, 2023
Copy link
Member

@naseemkullah naseemkullah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@monotek monotek merged commit 116493a into prometheus-community:main Aug 7, 2023
3 checks passed
@sam-mcbr
Copy link
Contributor Author

sam-mcbr commented Aug 7, 2023

Thank you all so much!

@sam-mcbr sam-mcbr deleted the alertmanager-ha branch August 7, 2023 14:53
Matiasmct pushed a commit to giffgaff/prometheus-charts-backup that referenced this pull request Aug 25, 2023
…unity#3620)

* [alertmanager] Add additional configuration options.

Signed-off-by: Sam Mcbroom <[email protected]>

* Use port names.

Signed-off-by: Sam Mcbroom <[email protected]>

* Extra volume mounts for config reloader.

Signed-off-by: Sam Mcbroom <[email protected]>

* Add extraEnv value for config reloader.

Signed-off-by: Sam Mcbroom <[email protected]>

* Allow restricting config-reloader to only watch specific file.

Signed-off-by: Sam Mcbroom <[email protected]>

* Allow configuring reload endpoint for config reloader.

Signed-off-by: Sam Mcbroom <[email protected]>

* Fix comments in values.yaml.

Signed-off-by: Sam Mcbroom <[email protected]>

* Allow exposing extra ports on the services.

Signed-off-by: Sam Mcbroom <[email protected]>

* Default value for service.extraPorts.

Signed-off-by: Sam Mcbroom <[email protected]>

* Remove unused service port protocol.

Signed-off-by: Sam Mcbroom <[email protected]>

* Fix helm.

Signed-off-by: Sam Mcbroom <[email protected]>

* Enabled UDP port for cluster peer communication.

Signed-off-by: Sam Mcbroom <[email protected]>

* Bump version.

Signed-off-by: Sam Mcbroom <[email protected]>

---------

Signed-off-by: Sam Mcbroom <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ha doesn't work correctly
4 participants