-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
syncer: Optimize the logic of updating pod. (#503)
* fix(cluster): update too many pods at the same time. * fix(cluster): adjust the exit logic of updatePod(). updatedRevision wiil not update with the currentRevision when using `onDelete`. Use sfs.status.UpdatedRplicas and sfs.spec.Replicas to determine whether the update is completed. * feat(cluster): actively switch leader to updated pod. * fix(cluster): wait pod healthy when updating
- Loading branch information
1 parent
6156546
commit 63cc34e
Showing
1 changed file
with
41 additions
and
50 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