Remove your application from the cluster by running the
$ waypoint destroy -auto-approve » Destroying releases... » Destroying deployments...Destroy successful!
You can also remove the Waypoint server from the cluster.
The troubleshooting documentation describes how to remove the Waypoint server from a Kubernetes cluster. This is a good option if you want to continue using the current Kubernetes cluster for other workloads.
If you encounter an error when running
up, it is sometimes effective to
context clear and the initialize the project again. Read about the
context with the
$ waypoint context -h
»Destroy the cluster
If you created a Kubernetes cluster specifically for this project, this is a good time to destroy it as well.
Docker Desktop for running local Docker resources. It has a built in Kubernetes feature for running a local Kubernetes cluster.
To reset Kubernetes on your local machine, navigate to the Preferences screen and click the button labeled "Reset Kubernetes Cluster", and then click "Yes, reset anyway" when prompted.
Then click the "Apply & Restart" button. After a few moments, Docker Desktop
will restart with and active Kubernetes cluster. You can verify your local
configuration by running any command against
$ kubectl get all NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGEservice/kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 24m
You have now completed the tutorial for deploying an application using the Waypoint workflow.
In these tutorials, you accomplished the following tasks:
- Installed Waypoint and initialized an application
- Built, deployed, and released the app with the Waypoint workflow
- Made a change to the app and then redeployed it
- Ran commands on the app with
- Viewed the application's log data
- Accessed the Waypoint web UI
From here, we suggest you try one of the other Getting Started guides like deploying an application to Nomad.
You are now ready to deploy your own applications and contribute to the Waypoint examples!
The examples repository includes sample code for several programming languages including:
- Laravel PHP
It also includes examples for other cloud hosting platforms including:
- AWS ECS
- AWS EKS
- Google Cloud Run
Visit the plugin documentation for documentation on other deployment targets such as:
- AWS EC2