VMware Communities
Abitha
VMware Employee
VMware Employee

Imported TKG Cluster

How can we delete TKG Imported cluster from TCA manager(2.1) GUI, cluster details are deleted from TKG Mgmt cluster. All the stale entry removal are done. Cluster can only be seen in GUI and all the options in GUI is greyed out.

Cluster Api version : v1

K8s version: 1.20.8

Labels (1)
0 Kudos
1 Reply
Aditi_Dhavale
VMware Employee
VMware Employee

Since the V1 imported clusters were not created from UI, they cannot be removed from the UI but using the API.

 

Prerequisites: 

1. All CNFs instantiated against the Workload Cluster are terminated and deleted.

2. Any Harbor - Partner System - VIM association for this Workload Cluster is removed. 

3. The corresponding VIM for this Workload Cluster is deleted from TCA UI.

 

The following API will delete the Workload Cluster. Replace the <mgmt-cluster-id> and <workload-cluster-name> accordingly.

 

DELETE https://TCA-IP-FQDN/telco/api/infra/k8s/clusters/<mgmt-cluster-id>/importTcaKubernetesCluster?cluste...