This topic tells you how to remove all the resources that were created during the setup of the infrastructure and the application environment. The clean-up includes the following resources:
- Space
-
Cluster
The process also deletes the monitoring resources that were created.
Delete a Space
Deleting a Space will delete all the application resources within the Space, including any applications and dependent resources such as Route53 records.
You can delete a Space using either the Tanzu Platform UI or the Tanzu CLI.
- UI-based steps
-
- Navigate to Application Platform > Application Engine > Spaces on the left hand navigation.
- Click the three dots next to the Space you wish to delete.
- Select Delete Space.
- Enter the name of the Space to confirm the delete.
- Click Delete.
- Tanzu CLI-based steps
- Use the following Tanzu CLI command to delete the Space from the project.
tanzu space delete <space name>
Delete an application
Deleting an application deletes the application itself and all of the related resources that were created during the build. The related resources vary according to the type of runtime, for example:
- For a
kubernetes-carvel-package
runtime, the related resources arePackage
,PackageInstall
, and theSecret
for configuring thePackageInstall
. - For a
kubernetes-fluxcd-helm-chart
runtime, the related resources areHelmRepository
,HelmRelease
, andSecret
.
You can delete an application by using either the Tanzu Platform UI or the Tanzu CLI.
- UI-based steps
-
- Navigate to Application Spaces > Spaces on the left hand navigation.
- Select the Space in which the application is deployed and open the Space details.
- Select to the Applications Tab.
- Click Delete in the top right corner.
- Enter the name of the application to confirm the deletion.
- Tanzu CLI-based steps
- Use the following Tanzu CLI command to delete the application from the Space.
tanzu app delete <app name>
Content feedback and comments