Upgrade Redis Enterprise with OpenShift OperatorHub
This task describes how to upgrade a Redis Enterprise cluster via OpenShift OperatorHub.
Before upgrading
-
Check Supported Kubernetes distributions to make sure your Kubernetes distribution is supported.
-
Use
oc get rec
and verify theLICENSE STATE
is valid on your REC before you start the upgrade process. -
Verify you are upgrading from Redis Enterprise operator version 6.2.10-45 or later. If you are not, you must upgrade to 6.2.10-45 before upgrading to versions 6.2.18 or later.
Upgrade the Redis Enterprise operator
-
Select the Redis Enterprise Operator from the Operators>Installed Operators page.
-
Select the Subscription tab.
-
Verify your Update approval is set to "Manual".
-
If you wish to upgrade to the most recent version, set your Update channel to "production". If you wish to upgrade to an older version, select it for your Update channel.
-
Select Upgrade available shown under Upgrade status.
-
When the "Review manual InstallPlan" section appears, select Preview installPlan and then Approve after reviewing the details. This will start the operator upgrade.
You can monitor the upgrade from the Installed Operators page. A new Redis Enterprise Operator will appear in the list, with the status "Installing". The OpenShift will delete the old operator, showing the "Cannot update" status during deletion.
Reapply the SCC
If you are using OpenShift, you will also need to manually reapply the security context constraints file (scc.yaml
) and bind it to your service account.
oc apply -f openshift/scc.yaml
oc adm policy add-scc-to-user redis-enterprise-scc-v2 \
system:serviceaccount:<my-project>:<rec-name>
If you are upgrading from operator version 6.4.2-6 or before, see the after upgrading section in the OpenShift CLI upgrade to delete the old SCC and role binding after all clusters are running 6.4.2-6 or later.