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
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 uepehelm uninstall external-dns -n uepehelm uninstall ingress-nginx -n uepeCert Manager
To uninstall cert-manager from the Kubernetes cluster, run:
helm uninstall cert-manager -n cert-managerAzure 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>/manifestskubectl delete -f storage_persistence.yaml -n uepeNote!
The following notes are relevant only if you have performed a backup or restore as described in upgrade instructions https://infozone.atlassian.net/wiki/spaces/UEPE4D/pages/269484079. If no upgrade was performed, you can disregard this section.
If you have created on-demand snapshot backups for database and file storage, ensure that backup protection is disabled and that all backup data is deleted. See https://learn.microsoft.com/en-us/azure/backup/manage-azure-database-postgresql#stop-protection and https://learn.microsoft.com/en-us/azure/backup/manage-afs-backup#stop-protection-on-a-file-share for guidance.
If you have restored a PostgreSQL flexible server database instance from a backup as described in https://infozone.atlassian.net/wiki/spaces/UEPE4D/pages/269484079/Upgrade+Instructions+-+Azure+4.2#Restore-database-backup section, ensure that the new database instance is deleted first. If no backup restoration was performed, you can disregard from this.
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