Uninstalling Che after chectl installation
This section describes how to uninstall an instance of Eclipse Che that was installed using the chectl
tool.
Prerequisites
-
The
chectl
tool is available. -
The
kubectl
tool is available. -
The
chectl
tool installed the Che instance on Kubernetes.
Procedure
-
Sign in to the Kubernetes cluster:
$ kubectl login -u <username> -p <password> <cluster_URL>
-
Obtain the name of the Che namespace:
$ kubectl get checluster --all-namespaces -o=jsonpath="{.items[*].metadata.namespace}"
-
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. -
Remove the eclipse-che namespace:
$ kubectl delete namespaces eclipse-che