This repository has been archived by the owner on Jun 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli/cmd: upgrade controlplane as part of install process
This commit adds controlplane upgrade functionality to 'cluster install' command. If user runs this command on existing cluster, all controlplane helm releases will be upgraded using charts and values.yaml generated by Terraform. If some of controlplane release has been uninstalled by the user, it will be reinstalled to ensure consistency. The upgrade process is atomic, which means that if something goes wrong (e.g. new pod will not become ready), then the upgrade will be rolled back. The upgrade process is done in order recommended by upstream: https://kubernetes.io/docs/setup/release/version-skew-policy/#supported-component-upgrade-order Currently, 'kubelet' is not being upgraded, because of bug in runc on Flatcar Linux. See #110 for more details. For testing, --upgrade-kubelets can be used, but it's experimental and not by default at the moment. Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
- Loading branch information
Showing
2 changed files
with
133 additions
and
3 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