Deleting an application
Sometimes, you need to delete an application, so let's go over a few options for how to do that.
In the previous sections, we deployed the deployment and service. Let's refresh our memory on what we deployed.
To check the deployments, run the following command:
$ kubectl get deployment NAME READY UP-TO-DATE AVAILABLE AGE nginx 3/3 3 3 6d17h
To check the active services, run the following command:
$ kubectl get service NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) kubernetes ClusterIP 10.16.0.1...