-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[KEP-5366] Graceful Leader Transition #5367
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
Conversation
166e6e3
to
1d2dae4
Compare
/cc @michaelasp |
@Jefftree: GitHub didn't allow me to request PR reviews from the following users: michaelasp. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. 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-sigs/prow repository. |
keps/sig-api-machinery/5366-graceful-leader-transition/README.md
Outdated
Show resolved
Hide resolved
keps/sig-api-machinery/5366-graceful-leader-transition/README.md
Outdated
Show resolved
Hide resolved
keps/sig-api-machinery/5366-graceful-leader-transition/README.md
Outdated
Show resolved
Hide resolved
keps/sig-api-machinery/5366-graceful-leader-transition/README.md
Outdated
Show resolved
Hide resolved
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.
Two comments then LGTM for alpha.
keps/sig-api-machinery/5366-graceful-leader-transition/README.md
Outdated
Show resolved
Hide resolved
@deads2k Any concerns with an off-by-default alpha for this? This gives us a good place to start listing out risks.. |
So high level feedback (I haven't done a detailed read yet).
I will circle back for a deeper review hopefully today, maybe Monday, but I'm hoping we're on same page about the two different things. I suspect that my 1 is prereq to 2. |
This is how I've been thinking about it too. Stating this directly in the KEP would make sense to me. Even with 1 not requiring a KEP, stating it as a required prelim of the work that does require a KEP sounds like a good way to approach this. |
keps/sig-api-machinery/5366-graceful-leader-transition/README.md
Outdated
Show resolved
Hide resolved
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.
Maybe an old iteration of the doc has mingled with new, but the user stories indicate a desire to dynamically select which controllers are running in a process. The design and graduation, and PRR don't reflect this. Please reconcile the design one way or the other. My personal suggestion: don't dynamically change which controllers and running and simply get graceful release and potentially (if you really like it) avoiding process restart.
TBH, once we flush the caches, I'm not entirely clear on what benefit we get from re-using the process.
keps/sig-api-machinery/5366-graceful-leader-transition/README.md
Outdated
Show resolved
Hide resolved
keps/sig-api-machinery/5366-graceful-leader-transition/README.md
Outdated
Show resolved
Hide resolved
keps/sig-api-machinery/5366-graceful-leader-transition/README.md
Outdated
Show resolved
Hide resolved
Big picture, once we flush the caches on graceful lease release, what is the benefit of re-using the process instead of exiting? |
sig and PRR lgtm /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, Jefftree 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 |
/sig api-machinery
/assign @jpbetz