Destroy the Deployment from Kubernetes
Warning
This content is part of the legacy version of Waypoint that is no longer actively maintained. For additional information on the new vision of Waypoint, check out this blog post and the HCP Waypoint documentation.
When you are ready to clean up, you can destroy the application in Waypoint and uninstall any Waypoint components from the cluster before destroying the cluster itself.
Destroy the application
Remove your application from the cluster by running the destroy
command. Respond yes
when prompted to confirm the operation. This will destroy any active deployments and releases.
Waypoint will start the process and output the following.
Uninstall Waypoint
There are no components to uninstall if you use HCP Waypoint.
Deactivate HCP Waypoint
Deactivating HCP Waypoint is an optional step that disables Waypoint for your HCP project. This will not delete any runners or images that have been pushed to a registry.
Click the Manage button on the top right of the page, and then click on the Deactivate Waypoint option.
A dialog appears confirming that you want to deactivate Waypoint. Type DEACTIVATE
in the field and click on the Deactivate button.
Another dialog appears to confirm that Waypoint has been deactivated.
You can re-enable Waypoint by clicking on the Activate Waypoint button in the top right of the page.
Destroy the cluster
Reset the Kubernetes cluster running on Docker Desktop by opening the Docker Desktop application, navigating to the Preferences screen, clicking on the Kubernetes option in the left navigation, and clicking the Reset Kubernetes Cluster button. This will take some time to destroy and recreate the cluster.
Next steps
In this tutorial you learned how to destroy your application in Waypoint and uninstall Waypoint from your infrastructure.
In this collection of tutorials you learned about the Waypoint workflow, installed Waypoint into a Kubernetes cluster, initialized an application, built, deployed, released, and updated the application, destroyed the application, and uninstalled Waypoint from a Kubernetes cluster.
Continue your learning with the tutorials and documentation below.
- Learn how to deploy applications to other platforms with Waypoint by checking out the Docker and Nomad tutorials
- Learn how to deploy an app to AWS ECS, Azure Container Instance, and Google Cloud Run
- Learn more about the
waypoint.hcl
file - Learn about Waypoint runner
- Review the Waypoint CLI commands
- Read about the available plugins
- View the troubleshooting guide