This documentation is for a release that is no longer maintained
See documentation for the latest supported version.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.2:
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. The default is
openshift-devspaces
.oc get checluster --all-namespaces \ -o=jsonpath="{.items[*].metadata.namespace}"
$ oc get checluster --all-namespaces \ -o=jsonpath="{.items[*].metadata.namespace}"
Copy to Clipboard Copied! Remove the OpenShift Dev Spaces instance from the
openshift-devspaces
project:dsc server:delete -n openshift-devspaces
$ dsc server:delete -n openshift-devspaces
1 Copy to Clipboard Copied! - 1
- The project that you got in step 1.
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.