Automatic upgrade workflow¶
A management cluster upgrade to a newer version is performed automatically once a new Container Cloud version is released. Regional clusters also upgrade automatically along with the management cluster. For more details about the Container Cloud release upgrade mechanism, see: Release Controller.
The Operator can delay the Container Cloud automatic upgrade procedure for a limited amount of time or schedule upgrade to run at desired hours or weekdays. For details, see Schedule Mirantis Container Cloud upgrades.
Container Cloud remains operational during the management and regional clusters upgrade. Managed clusters are not affected during this upgrade. For the list of components that are updated during the Container Cloud upgrade, see the Components versions section of the corresponding Container Cloud release in Release Notes.
Due to the known issue 24802 affecting clusters with enabled proxy, the Container Cloud release upgrade from 2.17.0 to 2.18.0 can trigger automatic update of managed clusters to the latest available Cluster releases in their respective series. For details, see the known issue 24802.
When Mirantis announces support of the newest versions of Mirantis Container Runtime (MCR) and Mirantis Kubernetes Engine (MKE), Container Cloud automatically upgrades these components as well. For the maintenance window best practices before upgrade of these components, see MKE Documentation.
MKE and Kubernetes API may return short-term 50x errors during the upgrade process. Ignore these errors.
Once management and regional clusters are upgraded to the latest version, update the original bootstrap tarball for successful clusters management, such as collecting logs, deploying new regional clusters, and so on.
To update the bootstrap tarball after an automatic cluster upgrade:
Select from the following options:
For clusters deployed using Container Cloud 2.11.0 or later:
./container-cloud bootstrap download --management-kubeconfig <pathToMgmtKubeconfig> \ --target-dir <pathToBootstrapDirectory>
For clusters deployed using the Container Cloud release earlier than 2.11.0 or if you deleted the
kaas-bootstrapfolder, download and run the Container Cloud bootstrap script:
wget https://binary.mirantis.com/releases/get_container_cloud.sh chmod 0755 get_container_cloud.sh ./get_container_cloud.sh