Upgrade Che from the command line

Upgrade Che from the previous minor version using the chectl management tool so that your deployment receives the latest bug fixes, security patches, and features.

Prerequisites
  • You have an administrative account on Kubernetes or OpenShift.

  • You have a running instance of a previous minor version of Che, installed using the CLI management tool on the same instance of Kubernetes or OpenShift, in the eclipse-che Kubernetes namespace or OpenShift project.

  • You have chectl for Che version 7.120. See Install the chectl management tool.

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

  2. Shut down all workspaces in the Che previous minor version instance.

  3. Upgrade Che:

    $ chectl server:update -n eclipse-che

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

Verification
  1. Navigate to the Che instance.

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