forked from kubernetes-sigs/cluster-api
-
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.
Add pivot phase for clusterctl (kubernetes-sigs#731)
- Add `clusterctl alpha phases pivot` subcommand - Pivot ClusterAPI objects for all namespaces - Adds MachineClass support to pivoting - Unify pivoting approach - Scale down StatefulSets on pivot to avoid dueling controllers - Remove ownerRefs prior to pivoting objects - Change order of pivoting of Machine* objects to avoid race conditions - Recursively copy objects based on ownerRefs - `clusterctl delete cluster` now pivots and deletes Cluster API resources from all namespaces. Co-authored-by: Chuck Ha <[email protected]> Signed-off-by: Jason DeTiberus <[email protected]>
- Loading branch information
1 parent
ca5119c
commit fbb9787
Showing
16 changed files
with
1,972 additions
and
546 deletions.
There are no files selected for viewing
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
405 changes: 316 additions & 89 deletions
405
cmd/clusterctl/clusterdeployer/clusterclient/clusterclient.go
Large diffs are not rendered by default.
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
Oops, something went wrong.