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
Use a unique label for monitoring resources #178
Use a unique label for monitoring resources #178
Conversation
|
@afreen23: This pull request references Bugzilla bug 2043034, which is valid. No validations were run on this bugRequesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
csi-addon operator and odf-operator are using the default label and labelSelector provided by operator-sdk:control-plane:controller-manager for its services. This is allowing deployments, services and service monitors of each operator to select the pods and services of other operator.One critical impact of this is in UI dashboard where odf service monitor is picking up csiaddon service and hence showing an extra storage system. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2043034 Signed-off-by: Afreen Rahman <afrahman@redhat.com>
51cc634
to
996fb17
Compare
|
@iamniting @umangachapagain please review |
|
@afreen23: No Bugzilla bug is referenced in the title of this pull request. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
@afreen23 changes look good to me as they are really simple, But I have questions before I give LGTM.
|
|
/cherry-pick release-4.10 |
|
@iamniting: once the present PR merges, I will cherry-pick it on top of release-4.10 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Thanks for the review @iamniting Details: |
|
@afreen23: This pull request references Bugzilla bug 2043034, which is valid. No validations were run on this bugNo GitHub users were found matching the public email listed for the QA contact in Bugzilla (musoni@redhat.com), skipping review request. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
@afreen23: No Bugzilla bug is referenced in the title of this pull request. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: afreen23, iamniting 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 |
|
@iamniting: new pull request created: #180 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2043034
Issue
Both csi-addon operator and odf-operator are using the default label and label-selector provided by operator-sdk - "control-plane: controller-manager" for its services and deployments.
This is allowing deployments, services and service monitors of each operator to select the pods ans services of other operator.
One critical impact of this is in UI monitoring where odf metrics monitor is picking up csiaddon service and hence showing an extra storage system. This is breaking the prometheus query and hence missing storage system on UI.
Fix
Use a unique label selector in odf-operator to avoid conflicts.
Before:

After:
