Uninstallation Guide - OCI (4.3)
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 External-DNS to clean up the OCI DNS hosted zone records that were added earlier during the installation. All records will be deleted except for SOA and NS records.
Hint!
To monitor the hosted zone records cleanup, refresh the OCI DNS console, Networking | DNS Management | Zones | Public zones section.
Kubernetes Cluster Add-ons
To uninstall Add-ons from the Kubernetes cluster, run:
helm uninstall oci-native-ingress-controller -n uepe
helm uninstall external-dns -n uepe
helm uninstall ingress-nginx -n uepe
Cert Manager
To uninstall cert-manager-webhook-oci from the Kubernetes cluster, run:
cert-manager needs to be uninstalled manually under name-space cert-manager as it was added to the cluster via OCI Cluster add-ons.
OCI Resources
Manually delete unused load balancer Certificates and CA Bundles from the OCI Certificate Service via the OCI console.
Delete Persistent Volume Claim (PVC) and Persistent Volume (PV) if they had been created before.
Change directory to the terraform script directory and run the following command to remove all OCI resources created (cluster, Virtual Cloud Networks, persistent storage etc):
Note!
For supporting ssl through kubernetes secrets, respective certificates and ca bundles are generated in certificate service. Terraform destroy doesn't delete these certificates and ca bundles. Therefore, these certificates and ca bundles need to be cleared by the user manually via the OCI console's Certificate service. Go to Certificates | Certificates and Certificates | CA Bundles to clear it.
Â