-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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 new chart #64
[alertmanager] add new chart #64
Conversation
cec7e58
to
85bcf02
Compare
Did you see that AlertManager is part of https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus-operator/templates/alertmanager? |
It would be good to provide some context. I happen to know from earlier conversations with @naseemkullah and @brancz that this is a step toward componentizing that chart into standalone parts. In future, the kube-prometheus-stack chart could switch to pulling this in as a dependency. Alternatively this could be installed separately with other standalone charts like prometheus. But @naseemkullah you might have more context details. |
Use cases would indeed be for standalone chart and potentially eventual replacement of alertmanager component in prometheus chart (not prometheus-operator/kube-prometheus-stack chart though, since it is a CRD there). |
85bcf02
to
55c6ccd
Compare
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.
Why would anybody need a separate chart for Alertmanager?
55c6ccd
to
6019d56
Compare
|
I'm torn here. @zanhsieh @monotek @bismarck @vsliouniaev @gianrubio |
Generally i like the idea to have alertmanager as standalone chart, as it can be used as dependency in other charts or you could solve one of the usecases mentioned by @naseemkullah |
@naseemkullah Would you be able to work on splitting the Alertmanager component from the |
Eventually yes, not immediately though, I also think we should discuss the best way forward in terms of feature parity. There is a lot of cruft we should reevaluate in the prometheus chart('s subcomponents). It would not be a bad idea to have a prometheus chart maintainers call at some point to figure out what we want to do. |
@naseemkullah Very nice! After resolving the comments from @monotek - I believe this should be good to go. |
Maybe it would also make sense to add the same maintainers for the standalone charts as for the prometheus chart? At least when the standalone chart(s) should be used as dependencies in the prometheus chart later? Having a call about this sounds good to me too. Not sure if dependency charts should replace current implementation or be usable optionally. So let's have a call :-) What's your timezone guys? I'm in cet. |
EST, we can start with an async group chat in k8s slack too @zanhsieh are you on k8s slack? |
FWIW I'm really encouraged by this thread |
I'm sure you all know this already, but I would like to remind that the Alertmanager deployed in kube-prometheus-stack is managed by the prometheus-operator operator, so I believe this chart does not qualify as a possible dependency for that chart, but instead, as already mentioned, an isolated solution for other use cases. |
Yep this may have gotten buried in the other comments: #64 (comment) |
6019d56
to
75ba6f1
Compare
Signed-off-by: Naseem <naseem@transit.app>
75ba6f1
to
d696534
Compare
Thanks for the great feedback @monotek , changes applied and ready for re-review. @zanhsieh @gianrubio @Xtigyro please let me know if you'd like to help maintain this chart as well and I will add you to the maintainers list. Thanks. |
@scottrigby Shouldn't we create a PR for the Prometheus chart before merging this one - so no double efforts are required for maintenance of Alertmanager? |
@Xtigyro Imho we don't plan to change anything in the altermanager component for prometheus so i don't seee double effort there. |
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.
Just this one suggestion. Otherwise this looks good!
charts/alertmanager/README.md
Outdated
|
||
## Installation | ||
|
||
```sh |
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.
My only thought now is to improve the README a bit. How about the README template laid out for the other charts in this repo?
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.
Sounds good! I did not find a template per se but mimicked what I saw in prometheus adapter. PTAL
Re dependency, we are thinking this could be a drop in replacement for the alert manager in the prometheus chart, right? If so, I was thinking this is the order:
But either way, that would be a follow up PR. Am I right this is what you're thinking though @naseemkullah ? |
OK - very nice! Agreed. |
Signed-off-by: Naseem <naseem@transit.app>
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.
🎉
@naseemkullah @monotek Chart looks great. The only thing which is unclear for me is who maintains that chart? In CODEOWNERS is says: In Chart.yaml it's just
|
* Add alertmanager chart Signed-off-by: Naseem <naseem@transit.app> * mimic readme in other prometheus repos Signed-off-by: Naseem <naseem@transit.app> Signed-off-by: André Bauer <andre.bauer@kiwigrid.com>
[prometheus-node-exporter] Adjust GlobalRuleGroup name for calico-exporter
Special notes for your reviewer:
Adds a minimalist alertmanager chart.
Checklist
[prometheus-couchdb-exporter]
)