Upgrading Che using the CLI management tool

This section describes how to upgrade from the previous minor version using the CLI management tool.

Prerequisites
  • An administrative account on Kubernetes or OpenShift.

  • A running instance of a previous minor version of Eclipse Che, installed using the CLI management tool on the same instance of Kubernetes or OpenShift, in the <eclipse-che> project.

  • chectl is available and updated. See Using the chectl management tool.

Procedure
  1. Save and push changes back to the Git repositories for all running Che 7.41 workspaces.

  2. Shut down all workspaces in the Che 7.41 instance.

  3. Update to the latest version of chectl:

    $ chectl update
  4. Upgrade Che:

    $ chectl server:update -n eclipse-che

For slow systems or internet connections, add the --k8spodwaittimeout=1800000 flag option to the chectl server:update command to extend the Pod timeout period to 1800000 ms or longer.

Verification steps
  1. Navigate to the Che instance.

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