Chapter 6. Uninstalling OpenShift Dev Spaces
Uninstalling OpenShift Dev Spaces removes all OpenShift Dev Spaces-related user data!
To uninstall an instance of Red Hat OpenShift Dev Spaces 3.0:
Prerequisites
-
An active
oc
session with administrative permissions to the destination OpenShift cluster. See Getting started with the CLI. -
dsc
. See: Section 2.1, “Install the dsc management tool”.
Procedure
Obtain the name of the OpenShift Dev Spaces project (default:
openshift-devspaces
):$ oc get checluster --all-namespaces \ -o=jsonpath="{.items[*].metadata.namespace}"
Remove the OpenShift Dev Spaces instance from the <openshift-devspaces> project:
$ dsc server:delete -n <openshift-devspaces>
If OpenShift Dev Spaces was installed from the OpenShift web console, dsc
will not uninstall the DevWorkspace operator. To uninstall the DevWorkspace Operator, see Deleting the DevWorkspace Operator dependency.