JBoss.orgCommunity Documentation

Chapter 7. Deleting applications and domains

7.1. Deleting an application
7.2. Deleting a domain

This chapter explains how to remove applications and domains from OpenShift.

Deleting an application will only remove it from the OpenShift server. The application and OpenShift server adapter will remain in your workbench.

To remove an application right-click on it in the OpenShift Explorer view tab and select Delete Application(s) from the context menu.


A dialog window will display asking you to confirm the action and alerting you that you will not be able to recover the application one it has been deleted. Click the OK button to delete the application.


Once the application has been deleted you will notice that it has been removed from the list of applications available on your OpenShift server.


To delete a domain right-click on your server connection in the OpenShift Explorer view tab and select Delete Domain from the context menu.


A dialog box will be displayed asking you to confirm domain deletion. As a domain can only be deleted if it has no applications associated with it, an option is available to Force applications deletion. By selecting this checkbox any applications still associated with the domain will be deleted and unrecoverable.

Warning

It is recommended that you remove applications individually before deleting a domain to ensure you have created a copy of any application data you wish to keep.

If you do not select the Force applications deletion option and the domain to be removed still has an application associated with it, domain deletion will fail.


Once the domain has been deleted the connection to OpenShift will remain, however the Delete Domain option will not be available from the context menu.