-
Notifications
You must be signed in to change notification settings - Fork 303
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
Remove Services.Get() from syncNegStatusAnnotation() #1926
Conversation
Hi @gauravkghildiyal. 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. 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. |
6e17f4f
to
fa6f5a6
Compare
we tried a very similar thing along with adding more goroutines for the controller itself. It seemed to definitely help, at least in manual testing. I'm not sure why it was getting the service from a client before though. Can patch fail if we give it an outdated version? |
@swetharepakula gave some historical context for this: Fetching the service from the api-server was needed when There are existing places in our code (example1, example2) where we do fetch from the informer and then perform the update and I feel this should be fine too. There's atleast one other place I know where we could also fetch from the informer. That, along with increasing the number of workers and a few other optimizations is something that I'm working on and will soon send them in separate PRs. |
let's have this merged then (I can't review nor lgtm yet) |
@mmamczur: changing LGTM is restricted to collaborators 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
/approve
/retest |
@gauravkghildiyal: Cannot trigger testing until a trusted user reviews the PR and leaves an 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. |
fa6f5a6
to
ae3aec0
Compare
FYI: Just rebased -- no new changes |
/ok-to-test |
/lgtm |
you have to remove some unused code now
|
ae3aec0
to
c2226a9
Compare
/retest |
c2226a9
to
0012145
Compare
/retest |
0012145
to
912ba09
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aojea, gauravkghildiyal, mmamczur, swetharepakula 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 |
Cherry pick from kubernetes#1926
Cherry-picked from kubernetes#1926
[Cherry pick #1926] Remove Services.Get() from syncNegStatusAnnotation()
/assign @swetharepakula