To uninstall the VMware Telco Cloud Service Assurancedeployment, you must first terminate the CNFs in the reverse order of instantiation and then run the cleanup action script.

Procedure

  1. Terminate the CNFs in the reverse order of their instantiation from the VMware Telco Cloud Automation manager UI.
    1. Terminate tcsa (VMware Telco Cloud Service Assurance).
      • Use kubectl command to manually check the status of VMware Telco Cloud Service Assurance CNF while checking for the corresponding Custom Resource which is tcxproduct. While deleting VMware Telco Cloud Service Assurance, Kubernetes returns the following information:
        root [ ~/tcx-deployer/scripts ]# kubectl get tcxproduct
        tcsa-201-0b814-9pgbl   deleteInitiated   False   Deleting the TCX Product
      • Upon successful deletion, the following command returns a NotFound error.
        root [ ~/tcx-deployer/scripts ]# kubectl get tcxproduct tcsa-201-0b814-9pgbl
        Error from server (NotFound): tcxproducts.tcx.vmware.com "tcsa-201-0b814-9pgbl" not found
      • If the tcxproduct is not deleted within a few minutes, then follow the troubleshooting steps to determine the status of VMware Telco Cloud Service Assurance. For more information about the troubleshooting steps, see Getting Additional Information for CNFs in the Troubleshooting Guide.
    2. Terminate admin-operator.
    3. Terminate tcsa-init.
  2. Run the cleanup action using the installer.
    root [ ~ ]# cd /root/tcx-deployer/scripts/
    root [ ~/tcx-deployer/scripts ] python3 tcx_install.zip cleanup --cloud tca --product tcsa --kubeconfig /root/.kube/<TKG-workload-cluster-name> --registry-url <registry-url>/tcx