Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

Usage Engine Private Edition

Note!

You must delete all ECDs (EC Deployments) prior to uninstalling Usage Engine Private Edition.

You can delete ECDs using Desktop Online in the Manage | Tools & Monitoring | EC Deployment view.

You can also use the command kubectl delete ecd <your ecd name> -n <namespace> to delete the ECD.

To uninstall Usage Engine Private Edition from the Kubernetes cluster, run the following command:

helm uninstall <uepe release name> -n uepe --wait

Wait for few minutes for the External-DNS to cleanup OCI DNS hosted zone records. All records deleted except 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:

helm uninstall cert-manager-webhook-oci -n cert-manager

cert-manager needs to be uninstalled manually under name-space cert-manager as it was added to the cluster via OCI Cluster add-ons.

kubectl delete deploy cert-manager-webhook -n cert-manager
kubectl delete deploy cert-manager-cainjector -n cert-manager
kubectl delete deploy cert-manager -n cert-manager
kubectl delete service cert-manager-webhook -n cert-manager
kubectl delete service cert-manager -n cert-manager

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.

kubectl delete -f pvc.yaml -n uepe
kubectl delete -f pv.yaml

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):

terraform destroy
  • No labels