Uninstalling Che after chectl installation

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

  • The chectl tool is available.

  • The kubectl tool is available.

  • The chectl tool installed the Che instance on Kubernetes.

  1. Sign in to the Kubernetes cluster:

    $ kubectl login -u <username> -p <password> <cluster_URL>
  2. Obtain the name of the Che namespace:

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

    $ chectl server:delete -n eclipse-che

    When the name of the namespace containing the Che instance is eclipse-che, the -n argument is not necessary.

  4. Remove the eclipse-che namespace:

    $ kubectl delete namespaces eclipse-che