start off by removing the helm releases that were deployed in the helm lab:
helm delete guestbook-demo --namespace repo-demo
helm delete guestbook-demo --namespace helm-demo
remove the guestbook application components in the default namespace (ok to ignore errors)
cd /userdata/guestbook/v1
kubectl delete -f guestbook-deployment.yaml
kubectl delete -f guestbook-service.yaml
kubectl delete -f redis-slave-service.yaml
kubectl delete -f redis-slave-deployment.yaml
kubectl delete -f redis-master-service.yaml
kubectl delete -f redis-master-deployment.yaml
check that the guestbook application is gone:
kubectl get pods
No resources found in default namespace.
kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 172.21.0.1 <none> 443/TCP 29h
remove the Spring Pet Clinic app
helm delete spring-petclinic-rel