-
Notifications
You must be signed in to change notification settings - Fork 96
Bug 1962502: Create custom metrics to list unmanaged Routes and Ingresses without IngressClassName #231
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
Bug 1962502: Create custom metrics to list unmanaged Routes and Ingresses without IngressClassName #231
Conversation
|
Skipping CI for Draft Pull Request. |
|
@suleymanakbas91: This pull request references Bugzilla bug 1962502, which is invalid:
Comment DetailsIn 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. |
|
/bugzilla refresh |
|
@suleymanakbas91: This pull request references Bugzilla bug 1962502, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn 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. |
8a8e644 to
ae023ca
Compare
3ce39c6 to
ecda2e3
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: suleymanakbas91 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/test all |
ecda2e3 to
376d14d
Compare
|
@suleymanakbas91: This pull request references Bugzilla bug 1962502, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn 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. |
1 similar comment
|
@suleymanakbas91: This pull request references Bugzilla bug 1962502, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn 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. |
376d14d to
05432aa
Compare
|
/label qe-approved Verified via pre-merge workflow. More details can be found in : https://bugzilla.redhat.com/show_bug.cgi?id=1962502#c4 |
05432aa to
6d1bef1
Compare
…sses without IngressClassName
6d1bef1 to
bda6c19
Compare
|
/assign |
|
/retest |
1 similar comment
|
/retest |
|
@suleymanakbas91: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
|
@suleymanakbas91 can you explain why was the decision made to add the metrics here instead of in cluster-ingress-operator? |
|
@suleymanakbas91 fyi #240 removes these controllers from OCM repo. Any future PRs should go to https://github.com/openshift/route-controller-manager from now on |
|
Moving this to route-controller-manager: openshift/route-controller-manager#8 |
|
@suleymanakbas91: This pull request references Bugzilla bug 1962502. The bug has been updated to no longer refer to the pull request using the external bug tracker. DetailsIn 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. |
|
I will reassign myself and Ryan to the new PR |
This PR adds two custom metrics to count the number of ingresses without IngressClassName and the number of routes owned by ingresses no longer managed.
pkg/route/ingress/ingress.go: Registers metrics to the KubeRegistry. Moves the logic to determine which ingresses are managed to a separateingressManagedfunction.pkg/route/ingress/metrics.go: Implements Registrable interface so that the metrics can be registered to the KubeRegistry. Creates the metrics and implements the collector for the metrics.pkg/route/ingress/metrics_test.go: Adds unit-test for the metrics.