Skip to content

Upgrading Helm deployment

This section describes how to update the configuration of an HCL Digital Experience (DX) Compose 9.5 CF224 or later deployment to Kubernetes or OpenShift installed using Helm.

Prerequisites

Make sure that you have completed the following steps:

In a Helm-based deployment, moving from one cumulative fix (CF) to another one is also handled through Helm upgrade. The following actions are recommended when applying cumulative fixes:

  • Back up the file system of the persistent volumes associated with the namespace. Also, take a matching backup of the database associated with the WebEngine pod.
  • If you are running a 24/7 environment, it is recommended to set up a blue/green deployment before applying a CF to ensure high availability. While DX WebEngine stays available with multiple pods, Digital Asset Management (DAM) is not highly available during CF application. See the topic Difference and Similarities Between Traditional and Kubernetes DX Deployments that shows how a DX Compose solution could be deployed for high availability and blue/green deployments in a single Kubernetes cluster.
  • Before upgrading, temporarily set the DAM staging interval to 1440 (24 hours) using the dxclient manage-dam-staging trigger-staging command or adjust the cycleLength to 1440 using the DAM REST API StagingController.updateSubscriberData. Alternatively, you can disable DAM Staging while the publisher (source) and the subscriber (target) are not yet on the same CF version but note that reestablishing staging restages all assets.
  • (Optional) Consider disabling Web Content Manager (WCM) Syndication from and to the current environment.

Helm Upgrade configuration command

After making the needed changes to your custom-values.yaml file, run the following command:

# Helm upgrade command
helm upgrade -n your-namespace -f path/to/your/custom-values.yaml your-release-name path/to/hcl-dx-deployment-vX.X.X_XXXXXXXX-XXXX.tar.gz
  • The your-namespace is the namespace in which your HCL DX Compose 9.5 deployment is installed and your-release-name is the Helm release name you used when installing.
  • The -f path/to/your/custom-values.yaml parameter must point to the custom-values.yaml you have updated.
  • The path/to/hcl-dx-deployment-vX.X.X\_XXXXXXXX-XXXX.tar.gz is the HCL DX Compose Helm Chart that you extracted in Preparation before installing HCL DX Compose using Helm.