This section describes how to uninstall an instance of Eclipse Che that was installed using the chectl tool.

  • For Che installed using the chectl server:start command and the -n argument (custom namespace specified), use the -n argument also to uninstall the Che instance.

  • For installations that did not use the -n argument, the created namespace is named che by default.

Prerequisites
  • Che was installed on an OpenShift cluster using chectl.

  • OpenShift command-line tools (oc) and chectl are installed on the local workstation.

  • The user is logged in a Che cluster using oc.

Procedure
  1. Stop the Eclipse Che Server:

    $ chectl server:stop
  2. Obtain the name of the Che namespace:

    $ oc get checluster --all-namespaces -o=jsonpath="{.items[*].metadata.namespace}"
  3. Remove Che from the cluster:

    $ chectl server:delete -n <namespace>

    This removes all Che installations from the cluster.