So far in this chapter, we've learned how to deploy and scale our microservice in a Kubernetes cluster. There will be scenarios where you would want to destroy your microservice completely from your cluster, probably because you would like to perform a clean redeploy. In this recipe, we will learn how to destroy our microservice.
Open up the Kubernetes dashboard if you already have your cluster running. If not, use Minikube to start the cluster and open the dashboard. Make sure there are no instances of the geolocation container running on your Kubernetes cluster. If you have any instance of geolocation running, delete the replication controllers, services, and pods.