Delete an Ansible development workspace

Manage your Ansible development workspaces by understanding how to delete them from OpenShift Dev Spaces when they are no longer needed.

Deleting unused workspaces helps free up cluster resources and maintains a clean development environment within OpenShift Dev Spaces.

Delete an Ansible development workspace

To delete the contents of an Ansible development workspace, you delete the workspace itself. This action removes all the pods, storage, and other resources associated with that specific workspace, effectively wiping its contents.

Before you begin

  • You know the name of the workspace you want to delete.

About this task

Procedure

  1. Stop the Ansible development workspace that you want to delete.
    • To stop the workspace in the Dev Spaces dashboard, select the workspace that you want to delete and select actions > Stop Workspace.
    • To stop the workspace using OpenShift oc commands, follow the steps in Stopping workspaces in the Red Hat OpenShift Dev Spaces User Guide.
  2. Delete the workspace:
    • To delete the workspace from the Dev Spaces dashboard, select the workspace that you want to delete and select actions > Delete Workspace.
    • To delete a workspace using OpenShift oc commands, follow the steps in Removing workspaces in the Red Hat OpenShift Dev Spaces User Guide.

Uninstall OpenShift Dev Spaces

Uninstall OpenShift Dev Spaces completely when it is no longer required. Remember that this action removes all related Ansible dev spaces user data.

About this task

Procedure

To uninstall OpenShift Dev Spaces, follow the steps in the Uninstalling Dev Spaces chapter of the Red Hat OpenShift Dev Spaces Administration Guide.
Note

Uninstalling Ansible dev spaces removes all Ansible dev spaces-related user data.