Symptoms:
Tanzu Kubernetes Grid (TKG) 1.2.1 CLI does not work when a TKGm is registered with Tanzu Mission Control (TMC). The following are some symptoms you encounter when you face this issue:
- The TKG CLI that has been previously working with management and workload clusters, stops working when you register your management cluster to TMC.
- You see output similar to the following when you run the tkg get cluster command:
Error:: unable to retrieve combined cluster info: unable to get the list of clusters: unable to get TKC API Version: failed to get kubectl explain response for tkc resource: kubectl explain failed, output: the server doesn't have a resource type "tkc": exit status 1
- You see output similar to the following when you run the tkg delete cluster tkg-workload-cluster command:
Error: failed to get cluster object for delete: failed to get cluster object in namespace: 'default': no matches for kind "TanzuKubernetesCluster" in version "run.tanzu.vmware.com/v1alpha1"