-
Notifications
You must be signed in to change notification settings - Fork 564
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve vip operator shutdown sequence
Fix a bug: when etcd session is closed during election campaign, we should quit the campaign instead of continuing which is the case when the election was won (bug found by @frezbo). Also in the same controller, even before election is won, we should observer changes to kubelet lifecycle and etcd lifecycle events to make sure we quit the campaign on appropriate events. This fixes a delay on kubelet shutdown of control plane when VIP is enabled, but the node doesn't own the VIP on upgrade. Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com> (cherry picked from commit d7a64f5)
- Loading branch information
Showing
1 changed file
with
45 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters