Chapter 6. Uninstalling OpenShift Dev Spaces

Warning

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

Procedure

  1. Obtain the name of the OpenShift Dev Spaces project (default: openshift-devspaces):

    $ oc get checluster --all-namespaces \
      -o=jsonpath="{.items[*].metadata.namespace}"
  2. Remove the OpenShift Dev Spaces instance from the <openshift-devspaces> project:

    $ dsc server:delete -n <openshift-devspaces>
Note

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.