-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Make controller Run methods consistent #44408
Make controller Run methods consistent #44408
Conversation
I can take this if you're fine with waiting until tomorrow for review - I really like this PR (from the description). |
@wojtek-t that's fine - no need to rush this in, nor should we. Thanks! |
@ncdc nodeController in the cloud-controller-manager should also run in goroutine because the controller.WaitForCacheSync in nodeController.run will block(after removing the anonymous function) |
@guangyouyu thanks, fixing now |
@guangyouyu actually that's a different type (from |
5555759
to
c4132b2
Compare
@ncdc sorry,my mistake |
/lgtm |
- startup/shutdown logging - wait for cache sync logging - defer utilruntime.HandleCrash() - wait for stop channel before exiting
c4132b2
to
a81e580
Compare
@wojtek-t rebased. The only conflict was with your changes to pkg/proxy/config. Please review and make sure it still looks ok in there. Thanks! |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ncdc, wojtek-t
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
@k8s-bot cvm gce e2e test this |
@ncdc: The following test(s) failed:
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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 understand the commands that are listed here. |
Automatic merge from submit-queue |
Automatic merge from submit-queue. Cherry-pick #15067 endpoints fixes. cc @sjenning @eparis @derekwaynecarr This is a cherry-pick of #15067 to prevent too-frequent processing of endpoint updates. https://bugzilla.redhat.com/show_bug.cgi?id=1481603 Here's the original text of #15067 as written by @aveshagarwal: > Fixes #14710 > > Note: I had to manually merge changes and due to this, the commits might not match exactly. > > It has following 2 complete upstream PRs: > kubernetes/kubernetes#47731 (with some modifications/additions). > kubernetes/kubernetes#47788 > > And one partial PR to make above PRs compile: > kubernetes/kubernetes#44408 (Edited to fix bz link -- originally sent with wrong bug)
Please review for accuracy and consistency.
cc @deads2k @wojtek-t @smarterclayton @sttts @mikedanese @liggitt @rrati @derekwaynecarr