-
Notifications
You must be signed in to change notification settings - Fork 184
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
Enable MetricsExporter and PrometheusRules on each StorageCluster namespaces #2293
Enable MetricsExporter and PrometheusRules on each StorageCluster namespaces #2293
Conversation
Skipping CI for Draft Pull Request. |
9c3163c
to
ad51dca
Compare
@aruniiird is this still WIP? |
cfcb1d7
to
58a9d9b
Compare
58a9d9b
to
21f4ac4
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.
Commit heading needs to be updated. It's still referring to old implementation.
f8aa8b9
to
42a14e7
Compare
b7b9f4b
to
cdf0cf4
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.
Generated alert changes should also be committed with mixin changes.
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.
Since we are creating ServiceAccount and RBACs from ocs-operator, we must provide those access to ocs-operator serviceaccount as well.
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 after addressing suggestions.
@aruniiird , can you comment briefly how have you tested the changes?
5b5a249
to
bbb9fba
Compare
ee2c993
to
22c80ad
Compare
1e4734b
to
7af36ad
Compare
All the changes are done (except for the functional tests). @jmolmo , fix is now tested. |
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.
Please update the commit messages as per our Contribution Guide.
Commit details should explain what changed and why we changed it.
Also, would be nice to see test results for newly updated alerts.
c778247
to
86428e0
Compare
Updated the commit messages |
86428e0
to
e6fd970
Compare
In a multi storagecluster scenario, we have to create the following resources on each of the storagecluster's namespace a. metrics exporter deployment and needed cluster roles b. exporter service and servicemonitor c. prometheus rules Signed-off-by: Arun Kumar Mohan <[email protected]>
In multicluster scenario, metric exporter should get resources only for the namespace which it is deployed to. Changes are backward compatible and should work on all scenarioes. Signed-off-by: Arun Kumar Mohan <[email protected]>
In a multicluster mode, each alert should have clear indication about which cluster and namespace from which the it is being fired. Signed-off-by: Arun Kumar Mohan <[email protected]>
e6fd970
to
9ae46b2
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aruniiird, umangachapagain The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
000607b
into
red-hat-storage:main
In a multi storagecluster scenario, both metrics-exporter and PrometheusRules should be enabled on all the namespaces where the StorageClusters are installed.
Follow up PR: #2313