You can view the resource hierarchy for a TKG cluster using kubectl. Viewing the complete list of cluster resources can help you pinpoint resources that might be causing problems.

Procedure

  1. Connect to Supervisor and log in.
  2. Switch context to the vSphere Namespace where the TKG cluster is provisioned.
    kubectl config use-context tkg2-cluster-ns
  3. Run the following command to view the Cluster API cluster resource.
    kubectl describe clusters.cluster.x-k8s.io CLUSTER-NAME
    This command returns the resource hierarchy for the named cluster, including the Kubernetes Namespace, API version, Resource version.