-
Notifications
You must be signed in to change notification settings - Fork 2.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
operator: release leader lease lock on operator exit #14554
Conversation
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.
🚀
3ab77a1
to
8660a01
Compare
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.
Small non-blocking nit.
* This commit fixes an issue in cilium-operator where the operator does not release the leader lease lock once it exits. This is caused due to the fact that cilium-operator exits preemptively without waiting for the operator to release the lock. Signed-off-by: Deepesh Pathak <deepshpathak@gmail.com>
8660a01
to
afeac30
Compare
test-me-please |
retest-gke |
Looks like this fell through the cracks in 1.9 backports. @errordeveloper reported in the linked PR:
Opting to drop the 1.9 backport label. @fristonio , if you think this is important to backport to v1.9 then please either initiate the backport or reach out in #launchpad on slack to coordinate. |
Fixes #14546
The operator on receiving the termination signal will wait for the lease to be released and then exit.