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 OpenShift instance.

  • An instance of an earlier minor version of Che, installed using the Operator from OperatorHub on the same instance of OpenShift.

Procedure
  1. Open the OpenShift web console.

  2. Navigate to the OperatorsInstalled Operators section.

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

  4. Navigate to the Subscription tab and specify the approval strategy:

    • Approval: Automatic

      or

      Approval: Manual

      Specifying upgrade strategy screenshot

Manually upgrading Che in OperatorHub

Prerequisites
  • An administrator account on an OpenShift instance.

  • An instance of an earlier minor version of Che, installed using the Operator from OperatorHub on the same instance of OpenShift.

  • The approval strategy in the subscription is set to Manual.

Procedure
  1. Open the OpenShift web console.

  2. Navigate to the OperatorsInstalled Operators section.

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

  4. Navigate to the Subscription tab. Upgrades requiring approval are displayed next to Upgrade Status, for example 1 requires approval.

  5. Click 1 requires approval, then click Preview Install Plan.

  6. Review the resources that are listed as available for upgrade and click Approve.

Verification steps
  1. Navigate to the OperatorsInstalled Operators page to monitor the progress of the upgrade. When complete, the status changes to Succeeded and Up to date.

  2. The 7.30 version number is visible at the bottom of the page.

Additional resources