-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
K8SPXC-1366: Suspend backup job if cluster becomes unready
Backups can put pressure on a PXC cluster. With these changes, we introduce a new safety mechanism to pause backups if cluster becomes unhealthy. This mechanism can be disabled by enabling `spec.unsafeFlags.backupIfUnhealthy`. Operator will periodically check cluster status and ready PXC pods while a backup is running. If ready PXC pods, at any point, becomes less than the desired number of PXC pods, operator will suspend backup job. Suspending the backup job will terminate any running backup pod. Operator will automatically resume the job once ready PXC pods are equal to desired number of PXC pods.
- Loading branch information
Showing
4 changed files
with
163 additions
and
25 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
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