-
Notifications
You must be signed in to change notification settings - Fork 719
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle StatefulSets scale up/down/replacement (#1218)
Add support for scaling a StatefulSet up (just update sset replicas) or down (migrate data away then remove nodes when ready). Which also adds support for renaming a StatefulSet, by creating the new sset, then slowly remove the existing one with data migration. It ignores any zen1/zen2 consideration for now (works fine with zen2 in most cases). It ignores any change budget consideration for now. Unit tests and E2E tests are missing, but a refactoring is to be expected to handle zen2/zen2 and the changeBudget. I'd prefer waiting for this refactoring to happen before dealing with large unit testing. Consider this as still work in progress. The PR also modifies the way pods and ssets are watched by the Elasticsearch controller.
- Loading branch information
Showing
13 changed files
with
301 additions
and
111 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
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.