Destroy the Deployment
When you are ready to clean up, you can destroy the application in Waypoint and then uninstall the Waypoint components.
Destroy the application
Remove your application from the cluster by running the
waypoint destroy command. Respond
yes when prompted to confirm the operation. This will destroy any active deployments and releases.
$ waypoint destroy Do you really want to destroy all resources for this app? Only 'yes' will be accepted to approve: yes
Waypoint will start the process and output the following.
» Performing operation locally » Destroying releases for application 'example-nodejs'... ✓ Running release destroy v2 ✓ Running release destroy v1 » Destroying deployments for application 'example-nodejs'... ✓ Running deployment destroy v2 ✓ Deleting container: af1753fbcb68a7cfa9d61a14bc4427b32ae13a3ba7b7040d648898e9a8300f9e ✓ Running deployment destroy v1 ✓ Deleting container: 141b40f5fb82d5b92e12a660680e37fee38b300650a492fbf53ca88ab6df67b0 Destroy successful!
There are no components to uninstall if you use HCP Waypoint.
Optional Nomad cleanup
If you were following the Nomad get started tutorial, you can now stop or destroy your cluster.
Stop the Nomad cluster process in your terminal with
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, initialized an application, built, deployed, released, and updated the application, destroyed the application, and uninstalled Waypoint.
Continue your learning with the tutorials and documentation below.