-
Notifications
You must be signed in to change notification settings - Fork 4.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
cleanly execute scheduler and kubecontrollermanager via cobra command #18139
cleanly execute scheduler and kubecontrollermanager via cobra command #18139
Conversation
5d38be5
to
74598ba
Compare
74598ba
to
e8bfdb7
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/retest |
2 similar comments
/retest |
/retest |
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.
This lgtm, except for those 2 questions.
glog.Fatal(err) | ||
} | ||
glog.Infof("`kube-controller-manager %v`", args) | ||
cmd.Run(nil, nil) | ||
panic(fmt.Sprintf("`kube-controller-manager %v` exited", args)) |
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.
Is this intentional here?
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.
Is this intentional here?
Yes. Because we can't re-init, we need to die. And if we loop, we'll want to know why
glog.Fatal(err) | ||
} | ||
glog.Infof("`kube-scheduler %v`", args) | ||
cmd.Run(nil, nil) | ||
glog.Fatalf("`kube-scheduler %v` exited", args) |
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.
Same question as above.
Are you planning to merge #18164 first and rebase this? |
I think it lands without conflicts. |
Automatic merge from submit-queue (batch tested with PRs 18163, 18139, 18193, 18194, 16180). |
I found the upstream bug that was preventing this before and fixed it.
After this pull, there is no direct rebase impact for kube controllers except the ones we directly extend. HPA, quota, and SA tokens come to mind.