EventHandler removal and counting#98536
EventHandler removal and counting#98536kevindelgado wants to merge 1 commit intokubernetes:masterfrom
Conversation
|
@kevindelgado: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. 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. |
|
Hi @kevindelgado. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: kevindelgado 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 |
Expands the SharedInformer interface to enable removing event handlers and retrieving the count of event handlers for an individual informer.
6a7f21c to
3a73b6e
Compare
|
/assign @DirectXMan12 Feedback from the other PR #97214 has been addressed here. Please take a look! |
|
/ok-to-test |
|
/retest |
|
/triage accepted |
|
Closing as duplicate of #98657 |
This PR was split from #97214
What type of PR is this?
/kind feature
What this PR does / why we need it:
Expands the SharedInformer interface to enable removing event handlers
and retrieving the count of event handlers for an individual informer.
The controller-runtime package uses the SharedInformer directly from client-go (rather than through a factory). It would like the ability to track the number of event handlers registered to a shared informer in order to automatically shut down informers that don't have any event handlers registered to it.
Which issue(s) this PR fixes:
Unblocks work relating to kubernetes-sigs/controller-runtime#1192
Related design doc