forked from cloudnative-pg/cloudnative-pg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If the image required by the user changes, the operator will now start rolling the upgrade to replicas. After all the replicas are updated the master need to be updated, and for that the user can choose between two behaviors, which are specificable in Spec of the cluster: - `switchover`: promote the replica with less data to receive or to reapply as the new master and then finish the upgrade; - `wait`: wait for the user to require a switchover, and then finish the rolling update process. In the cluster status we keep track of when we required a Pod to restart to be updated, and use that one to check if the Pod have been really updated or not. Co-authored-by: Leonardo Cecchi <leonardo.cecchi@2ndquadrant.it> Co-authored-by: Jonathan Gonzalez V <jonathan.gonzalez@2ndquadrant.com> Co-authored-by: Marco Nenciarini <marco.nenciarini@2ndquadrant.it>
- Loading branch information
1 parent
4137ec0
commit 2361be6
Showing
17 changed files
with
535 additions
and
152 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.