You can view the full resource hierarchy for a Tanzu Kubernetes cluster using kubectl. Viewing the complete list of cluster resources can help you pinpoint resources that might be causing problems.
Connect to the Supervisor Cluster. See Connect to the Supervisor Cluster as a vCenter Single Sign-On User.
- Switch context to use the target cluster context.
kubectl config use-context CLUSTER-NAME
- Run the following command to view the Cluster API cluster resource.
kubectl describe clusters.cluster.x-k8s.io CLUSTER-NAMEThis command returns the resource hierarchy for the named cluster, such as the following: Namespace, API version, Resource version.