To remove all the objects that the Helm Chart created, we can use Helm uninstall.
Before we uninstall our application, we can verify what we have running via the Helm list command:
You should see output similar to below, which show that mywebserver is installed:
It was a lot of fun; we had some great times sending HTTP back and forth, but now its time to uninstall this deployment. To uninstall:
helm uninstall mywebserver
And you should be met with the output:
kubectl will also demonstrate that our pods and service are no longer available:
kubectl get pods -l app.kubernetes.io/name=nginx kubectl get service mywebserver-nginx -o wide
As would trying to access the service via the web browser via a page reload.
With that, cleanup is complete.