Uninstallation Guide - GCP (4.2)

Uninstallation Guide - GCP (4.2)

These uninstallation steps must be performed in sequence to ensure that all resources are being removed systematically.

Usage Engine Private Edition

Wait a few minutes for the External-DNS to cleanup Cloud DNS hosted zone records. All records will be deleted except SOA and NS records.

Hint!

To monitor the hosted zone records cleanup, user may refresh Cloud DNS console, Zone details | RECORD SETS section.

GCP Managed Certificate

To view the managed certificate from GCP Certificate Manager, run:

kubectl get managedCertificate -n uepe

To remove the managed certificate from GCP Certificate Manager, run:

kubectl delete managedCertificate managed-cert -n uepe

Kubernetes Cluster Add-ons

To uninstall Add-ons from the Kubernetes cluster run:

helm uninstall external-dns -n uepe
helm uninstall ingress-nginx -n uepe

Cert Manager

To uninstall cert-manager from the Kubernetes cluster, run:

helm uninstall cert-manager -n cert-manager

GCP Resources

Delete the Persistent Volume Claim (PVC) and Persistent Volume (PV) if they had been created earlier. Change directory to the terraform script directory. Change directory to the manifests directory.

cd <terraform script directory>/manifests
kubectl delete -f filestore_persistence.yaml -n uepe

Change directory to the terraform script directory and run the following command to remove all GCP resources created (cluster, VPC, persistent storage etc):

terraform destroy