rook / rook

Storage Orchestration for Kubernetes
https://rook.io
Apache License 2.0
11.98k stars 2.64k forks source link

rook-ceph-cluster: Support Prometheus rules customization #14140

Open gtirloni opened 2 weeks ago

gtirloni commented 2 weeks ago

Is this a bug report or feature request?

What should the feature do: The rook-ceph-cluster chart could support creating extra Prometheus Rules allowing customization with better configuration locality (by avoiding the need to implement it in a separate chart or using some other mechanism). Additionally, if the rules from the imported mixin could be overriden, that would be helpful as well.

What is use case behind this feature: Adding more rules for Ceph clusters or customizing aspects of the rules imported from mixins (e.g. severity).

Environment: Prometheus deployed by prometheus-operator (from kube-prometheus-stack)

travisn commented 2 weeks ago

Have you tried using a tool such as Kustomize as suggested in the customize alerts topic? Customizing alerts has had a lot of discussion in the past, and further customization is just difficult to consider.