-
Notifications
You must be signed in to change notification settings - Fork 2.8k
fix(source/service): disable node informer when not required #5613
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
fix(source/service): disable node informer when not required #5613
Conversation
…s activated Signed-off-by: ivan katliarchuk <[email protected]> fix(source/service): disable node informer when service type filter is activated Signed-off-by: ivan katliarchuk <[email protected]> fix(source/service): disable node informer when service type filter is activated Signed-off-by: ivan katliarchuk <[email protected]> fix(source/service): disable node informer when service type filter is activated Signed-off-by: ivan katliarchuk <[email protected]>
8fda513
to
f1dd912
Compare
Hi @iameli. Not sure if you still interested in the fix. But if yes, can you confirm that this PR fixes your issue. If needed, see how to test a PR ?. This will require golang to be installed. |
…s activated Co-authored-by: Michel Loiseleur <[email protected]>
…s activated Signed-off-by: ivan katliarchuk <[email protected]>
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ivankatliarchuk 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 |
…tes-sigs#5613) * fix(source/service): disable node informer when service type filter is activated Signed-off-by: ivan katliarchuk <[email protected]> fix(source/service): disable node informer when service type filter is activated Signed-off-by: ivan katliarchuk <[email protected]> fix(source/service): disable node informer when service type filter is activated Signed-off-by: ivan katliarchuk <[email protected]> fix(source/service): disable node informer when service type filter is activated Signed-off-by: ivan katliarchuk <[email protected]> * fix(source/service): disable node informer when service type filter is activated Co-authored-by: Michel Loiseleur <[email protected]> * fix(source/service): disable node informer when service type filter is activated Signed-off-by: ivan katliarchuk <[email protected]> --------- Signed-off-by: ivan katliarchuk <[email protected]> Co-authored-by: Michel Loiseleur <[email protected]>
What does it do ?
--service-type-filter
is configured, disable node informer when not requirednodeInformer
used in 2 placesv1.ServiceTypeNodePort
(could be safely disabled)V1. ServiceTypeClusterIP
-> added null check, and warning message, so that if informer is disabled but should be enabledMotivation
Fixes #3169
Follow-up:
--service-type-filter
is specified. This should increase performance and reduce number of API calls and etc.More