This repository has been archived by the owner on Jul 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
checkpointer: implement state machine.
This implements an explicit state machine to capture the various states a checkpoint can be in. It recovers those states from disk upon startup (if applicable) and then reconciles them with the states that are fetched from the various apiservers. It also adds 2 new states to attempt to work around issues with kubernetes 1.8 in which daemonset pods are deleted before being recreated. For single-master clusters this can lead to a total outage during apiserver upgrades since the checkpointer will aggressively retire the checkpoint for the deleted apiserver pod before it has a chance to schedule the new one.
- Loading branch information
Showing
5 changed files
with
599 additions
and
137 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
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
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
Oops, something went wrong.