Cleaning up the Online Boutique demo
To remove the sample Online Boutique application from your cluster, simply run:
kubectl delete namespace glasnostic-online-boutique
This will delete the k8s namespace and all pods and services within it.
Removing Glasnostic from your cluster
Run the following command to uninstall Glasnostic:
kubectl delete namespace glasnostic-system
kubectl delete mutatingwebhookconfigurations/glasnostic-sidecar-injector
This will delete the
glasnostic-system namespace and remove all Glasnostic components from your cluster. It also disables the automatic sidecar injection. Make sure to restart your pods to also undeploy the sidecar which has been injected automatically.