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
Customize Ceph PrometheusRule CRD #9082
Comments
Isn't that what those YAML files do? https://github.com/rook/rook/tree/master/cluster/examples/kubernetes/ceph/monitoring |
@aruniiird thoughts? |
Hi @leseb, these yaml files are hardcoded. My suggestion will give the option to modify the CRD as the user want. I'm suggesting making them as templates, and giving the users to decide regarding the values of the alert |
Rook does not manage the |
Closes: rook#9082 Signed-off-by: Yuval Manor <yuvalman958@gmail.com>
Closes: rook#9082 Signed-off-by: Yuval Manor <yuvalman958@gmail.com>
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions. |
I'm not so sure the CephCluster CRD is the best place to set custom prometheus metrics for Rook. Maybe it was a design flaw initially that Rook deployed Prometheus rules. I think it's good for Rook to have recommended rules (as examples or docs) that go pair with Ceph, but I'm not sure it's Rook's place to have such a tight coupling between Ceph and Prometheus by actually deploying and managing the rules itself. Can we separate responsibilities better? What would it look like to transition to a deployment method that had the users set prometheus rules with prometheus tooling? E.g., #8891 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation. |
Expected to be customizable after #9837. |
Is this a bug report or feature request?
What should the feature do:
Give the option to customize ceph PrometheusRule CRD.
There few options for achieving this feature, I'm suggesting here one of my ideas:
For example:
In this case the CephOSDNearFull alert will be fired after the limit 0.80 instead of 0.75. Also, it will be fired after 5 minutes instead of the default value.
This feature can help users that use Ceph in Rook to modify the prometheus alerts as they want.
What is use case behind this feature:
Users cannot modify the prometheusRule CRD as they want.
Environment:
The text was updated successfully, but these errors were encountered: