To uninstall the VMware Telco Cloud Service Assurance deployment, update the deploy.settings file as described in this section.
Note: Customization to the deployment of the
VMware Tanzu Kubernetes Grid management cluster has to be reverted in the event that the workload cluster must be updated or to perform any type of maintenance from the VMware Telco Cloud Automation manager UI, including upgrades and cluster life cycle management.
If you want to uninstall PV or PVCs after the
VMware Telco Cloud Service Assurance deployment, run the following command:
kubectl edit tcxproduct tcsa
If you deployed the
VMware Telco Cloud Service Assurance through VMware Telco Cloud Automation, then run the following command:
kubectl get tcxproduct NAME STATUS READY MESSAGE AGE tcsa-210-0e98c-ynvc7 updateCompleted True All App CRs reconciled successfully 39h
After you the get the preceding command output, run the following command:
kubectl edit tcxproduct tcsa-210-0e98c-ynvc7
Add the
finalizer.volume.vmware.com in the snippet.
apiVersion: tcx.vmware.com/v1 kind: TcxProduct metadata: annotations: meta.helm.sh/release-name: tcsa meta.helm.sh/release-namespace: default tcxproduct/type: tcsa creationTimestamp: "2022-12-13T02:59:15Z" finalizers: - finalizer.volume.vmware.com - finalizer.tcxproduct.tcx.vmware.com
Note: PV and PVCs uninstallation is applicable to
VMware Telco Cloud Service Assurance deployment on
VMware Tanzu Kubernetes Grid, Azure, and AWS.
- Set the DEPLOYMENT_ACTION to cleanup in the deploy.settings file.
# ========= Deployment modes and actions ========== # # Options are "init", "deploy-apps", "deploy-all" or "cleanup" DEPLOYMENT_ACTION="cleanup" ## Set this to '--force' if you want to cleanup by force without waiting for user confirmation DELETE_ARGS=
For example,
DELETE_ARGS='--force'
- Launch the Deployment Container on the deployment host. For more information, see Launch the Deployment Container.
- Update the PRODUCT_DEPLOYMENT_TIMEOUT value according to the footprint.
- Trigger the uninstallation by running the following script.
root [ ~ ]# cd tcx-deployer/scripts/deployment/ root [ ~/tcx-deployer/scripts/deployment ]# ./tcx_app_deployment.sh
Note: If you do not use the force command, the uninstallation step deletes the resources from the cluster without the following confirmation message.Are you sure you want to proceed? (y/n):y.