Upgrading the server running as a container
You can upgrade servers that are running as containers by preparing a backup and using helm upgrade.
Before you begin
Procedure
-
Prepare a backup:
-
Pull the latest Helm chart to upgrade to latest or any earlier supported
version of the product.
Note: You should always use the latest version of the Helm chart, even if you are upgrading to an earlier supported version of Deploy. The Helm chart is backwards compatible across all supported product releases and includes the latest functional updates, security patches, and deployment fixes.
-
Perform Helm upgrade on the server.
- Upgrade to the latest version.
If default values are used, Helm deploys the latest version:
helm upgrade <release-name> oci://hclcr.io/launch-helm/hcl-launch-server-prod --values myvalues.yaml - Upgrade to a specific supported version.To upgrade to a specific supported version of Deploy rather than the latest version, specify the
versionparameter using one of the following methods:- Method 1: By using the command-line flag
(
--set) -You can pass the
--set version=<x.x.x.x>parameter in the upgrade command:helm upgrade <release-name> oci://hclcr.io/launch-helm/hcl-launch-server-prod --values myvalues.yaml --set version=<target_version>For example:
helm upgrade my-deploy-server oci://hclcr.io/launch-helm/hcl-launch-server-prod --values myvalues.yaml --set version=8.1.0.0 - Method 2: By using the custom
values.yamlfile -Set the
versionparameter in yourmyvalues.yamlfile, such asversion: "8.1.0.0", and then run the standard upgrade command.
Important: You must specify only a supported version of Deploy for theversionparameter. Specifying an unsupported or invalid product version will cause the Helm upgrade to fail. - Method 1: By using the command-line flag
(
- Upgrade to the latest version.
-
Verify that deployment processes operate correctly.
If issues arise, proceed to the rollback steps.
-
Roll back the upgrade, if required: