Uninstallation Guide - Azure (4.2)

Uninstallation Guide - Azure (4.2)

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

Usage Engine Private Edition

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

Hint!

To monitor the hosted zone records cleanup, refresh the AzureDNS console, Zone details | RECORD SETS section.

Kubernetes Cluster Add-ons

To uninstall Add-ons from the Kubernetes cluster, run:

helm uninstall ingress-azure -n uepe
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

Azure 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 storage_persistence.yaml -n uepe

Note!

The following notes are relevant only if you have performed a backup or restore as described in upgrade instructions Upgrade Instructions - Azure (4.2). If no upgrade was performed, you can disregard this section.

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

terraform destroy

Related content