Upgrading DxOperator
Summary
Since the initial release of DxOperator v1, some additional features have been added to the DxEnterpriseSqlAg custom resource. Updates to DxOperator v1 are fully backward compatible with older v1 custom resources, and can be updated during normal production without impacting applications, SQL instances, or workloads.
The best method to upgrade DxOperator depends on how it was originally installed.
Upgrade by Manifest
If DxOperator was originally installed using the quickstart guide, it can be upgraded in a similar way.
-
Download the new manifest:
wget https://dxoperator.dh2i.com/dxesqlag/files/v1-cu2.yaml
-
Apply the new manifest
kubectl apply -f v1-cu2.yaml
-
Restart the DxOperator pod
kubectl rollout restart -n dxoperator-system deployment/dxoperator-operator
Upgrade by Helm chart
If DxOperator was installed using the Helm chart, it can be upgraded by the same method.
If you are using Rancher by SUSE, upgrade options will be presented in the Apps -> Installed Apps section.
To upgrade the Helm chart using the Helm CLI:
-
Ensure that your Helm repository is up-to-date:
helm repo update
-
Run the upgrade command:
helm upgrade <name> dh2i/dxoperator
Where <name> is the installation name used when DxOperator was originally installed. It can be identified using
helm list
.