Update deployment to a later version | HCL Digital Experience
This section shows how to update your HCL DX 9.5 Container Update CF197 and later deployment to a newer DX 9.5 Container Update release version.
Before you begin
- As of HCL DX 9.5 Container Update CF197, you can use this process to update a DX 9.5 deployment from Container Update CF196 on the Google Kubernetes Engine (GKE) platform.
- Support to update DX 9.5 197 container deployments using Helm to CF198 and later DX 9.5 container versions is provided for Red Hat OpenShift, Amazon EKS, Azure AKS, as well as Google GKE platforms beginning with Container Update CF198.
About this task
These instructions assume that you have made all configuration changes using the recommended Helm upgrade route described in Updating the DX 9.5 Deployment Configuration. This ensures that your custom-values.yaml file is an updated description of the configuration of your environment. If that is not the case, you must update your custom-values.yaml file first with all configuration changes.
When updating CF199 or earlier, you need to update the ambassador CRDs to a newer version. As a known pattern, Helm will not update CRDs by design.
The CRDs are currently backward compatible. It is still possible to run or perform an install of an older version of DX on that cluster, even when the CRDs are at the latest version.
Do not remove/downgrade the CF200 CRDs to an older version while having CF200 or later deployments running on your cluster.
Prerequisites:
tar
and HCL DX Helm Chart downloaded. Your
kubectl
configuration must point to the target cluster and
the user requires Cluster Admin Access to access it.security.core.wasUser/wasPassword
and
wpsUser/wpsPassword
in
custom-values.yaml.<database>.DbUser
and <database>.DbPassword
for all Portal databases
reflect the current user and password in
/opt/HCL/wp_profile/ConfigEngine/properties/wkplc_dbdomain.properties
prior to updating the Portal Core image.- Locate the
hcl-dx-deployment-*.tgz
in your downloaded package. - Execute the following commands to update the
CRDs:
# Extract CRD directory from downloaded Helm Chart tar vxf hcl-dx-deployment-*.tgz hcl-dx-deployment/crds # Apply extracted CRDs on cluster level kubectl apply -f hcl-dx-deployment/crds
After the action is completed, you can proceed with the DX update procedure. This step is required to be executed only once.