Skip to main content
Version: v23.0

Upgrade DxE + SQL Server Helm Deployments

Prerequisites

  • Current environment was deployed using the DH2i Helm chart.

  • Kubernetes statefulset updateStrategy spec is set to OnDelete.

Using Helm to Upgrade the Container Images

  1. Stage the upgrade with new image tags.
Upgrading SQL Server 2019 to SQL Server 2022
helm upgrade <helm_installation_name> dh2i/dxemssql --reuse-values --set=sqlImage.tag="2022-latest"
Upgrading DxEnterprise to a Newer Version
helm upgrade <helm_installation_name> dh2i/dxemssql
tip

Any image that uses the latest tag will automatically be upgraded with the above commands whenever a new image is posted to the repository. If a specific image version is required, then use the --set parameter to specify the desired tag. The DH2i Helm chart uses "sqlImage.tag" for SQL Server and "dxeImage.tag" for DxEnterprise.

For example:

helm upgrade dh2i_test dh2i/dxemssql --reuse-values --set=sqlImage.tag="2019-CU14-rhel-8.4" --set=dxeImage.tag="23.0.256.0-rhel8-arm64"

  1. Delete each pod individually to perform the upgrade.
info

It's highly recommended to upgrade the secondary pods one at a time before upgrading the primary pod. After upgrading all of the secondary pods, then move the Vhost to one of them and upgrade the final pod.

Additional Information