Perform Updates in Embedded Clusters
This topic describes how to perform updates for Replicated Embedded Cluster installations.
If you are instead looking for information about Replicated kURL, see Perform Updates in kURL Clusters.
Overview
When you update an application installed with Embedded Cluster, you update both the application and the cluster infrastructure together, including Kubernetes, KOTS, and other components running in the cluster. There is no need or mechanism to update the infrastructure on its own.
When you deploy a new version, any changes to the cluster are deployed first. The Admin Console waits until the cluster is ready before updatng the application.
Any changes made to the Embedded Cluster Config, including changes to the Embedded Cluster version, Helm extensions, and unsupported overrides, trigger a cluster update.
When performing an upgrade with Embedded Cluster, the user is able to change the application config before deploying the new version. Additionally, the user's license is synced automatically. Users can also make config changes and sync their license outside of performing an update. This requires deploying a new version to apply the config change or license sync.
The following diagram demonstrates how updates are performed with Embedded Cluster in online (internet-connected) environments:
View a larger version of this image
As shown in the diagram above, users check for available updates from the KOTS Admin Console. When deploying the new version, both the application and the cluster infrastructure are updated as needed.
Update in Online Clusters
Do not downgrade the Embedded Cluster version. This is not supported but is not prohibited, and it can lead to unexpected behavior.
To perform an update with Embedded Cluster:
-
In the Admin Console, go to the Version history tab.
All versions available for upgrade are listed in the Available Updates section:
-
Click Deploy next to the target version.
-
On the Config screen of the upgrade wizard, make any necessary changes to the configuration for the application. Click Next.
View a larger version of this image
noteAny changes made on the Config screen of the upgrade wizard are not set until the new version is deployed.
-
On the Preflight screen, view the results of the preflight checks.
-
On the Confirm screen, click Deploy.
View a larger version of this image
During updates, the Admin Console is unavailable. A modal is displayed with a message that the update is in progress.
noteKOTS can experience downtime during an update, such as in single-node installations. If downtime occurs, refreshing the page results in a connection error. Users can refresh the page again after the update is complete to access the Admin Console.