Upgrading Che using OperatorHub

This section describes how to upgrade from an earlier minor version using the Operator from OperatorHub in the OpenShift web console.

OperatorHub supports Automatic and Manual upgrade strategies: Automatic:: The upgrade process starts when a new version of the Operator is published. Manual:: The update must be manually approved every time the new version of the Operator is published.

Specifying the approval strategy of Che in OperatorHub

Prerequisites
  • An administrator account on an instance of OpenShift.

  • An instance of Che 7.41 or earlier that was installed by using OperatorHub.

Procedure
  1. Open the OpenShift web console.

  2. Navigate to the OperatorsInstalled Operators page.

  3. Click Eclipse Che in the list of installed Operators.

  4. Navigate to the Subscription tab.

  5. Configure the approval strategy to Automatic or Manual.

    Specifying upgrade strategy screenshot

Manually upgrading Che in OperatorHub

OperatorHub is an assembly point for sharing Operators. The OperatorHub helps you deploy and update applications. The following section describes the process of upgrading Che by using OperatorHub and the Manual approval strategy approach. Use the Manual approval strategy to prevent automatic updates of the Operator with every release.

Prerequisites
  • An administrator account on an instance of OpenShift.

  • An instance of Che 7.41 or earlier that was installed by using OperatorHub.

  • The approval strategy in the subscription is Manual.

Procedure
  1. Open the OpenShift web console.

  2. Navigate to the OperatorsInstalled Operators page.

  3. In the list of the installed Operators, click Eclipse Che.

  4. Navigate to the Subscription tab.

  5. Next to the Upgrade Status, inspect the upgrades that require approval. The expected message is 1 requires approval.

  6. Click 1 requires approval.

  7. Click Preview Install Plan.

  8. Review the resources that are available for upgrade and click Approve.

Verification steps
  1. Navigate to the OperatorsInstalled Operators page.

  2. Monitor the upgrade progress. When complete, the status changes to Succeeded and Up to date. The 7.42 version number is visible at the end of the page.

Additional resources