Uninstall Sample WebSphere Liberty Application
You may uninstall the sample application either to clean up your environment or prepare to install it again using a different method.
Using the command line
-
If you created the application using the WebSphere Liberty Operator, then run:
oc delete webspherelibertyapplication libertydiag -
If you created the application using a basic Kubernetes Deployment, then run:
oc delete deployment libertydiag
Using the browser
- If you created the application using the WebSphere Liberty Operator, then go to the Developer } Topology view, click on the ellipses on the
WSLAline and clickDelete WebSphereLibertyApplicationand then clickDelete:

- If you created the application using a basic Kubernetes Deployment, then go to the Developer } Topology view, click on the ellipses on the
libertydiagline and clickDelete Deploymentand then clickDelete:

If you need to re-install the application, go to the install page.