-
Notifications
You must be signed in to change notification settings - Fork 262
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
When the leader election is enabled, set true in leaderElectionReleaseOnCancel #3093
When the leader election is enabled, set true in leaderElectionReleaseOnCancel #3093
Conversation
…eOnCancel Signed-off-by: Yuki Iwai <[email protected]>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tenzen-y 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 |
✅ Deploy Preview for kubernetes-sigs-kueue ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
/assign @trasc |
/lgtm |
LGTM label has been added. Git tree hash: cc9935ea750033752c1bf2f2271219fe3d0ff750
|
If we didn't do that it feels like a bug more than just cleanup. Do you know how much delay it was causing? Maybe we could consider this for cherry-picking. WDYT @tenzen-y ? |
Goog point. I'm not sure how much exactly time the backup replica take the leader when the primary manager is terminated. I guess that the situation could happen when the primary manager takes a long time to graceful terminate cache and scheduler, and all Kueue internal components. |
So, I think that cherry-picking this to release-0.8 could bring production env more stability. |
/remove-kind-cleanup |
/kind bug |
/remove-kind cleanup |
/release-note-edit
|
/cherry-pick release-0.8 |
@tenzen-y: new pull request created: #3096 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. |
…eOnCancel (kubernetes-sigs#3093) Signed-off-by: Yuki Iwai <[email protected]>
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
When the manager is terminated, the leader role replica should voluntarily steps down from its own leader role
so that backup role can take the leader role as soon as possible.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?