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.

Prerequisites

Connect to the Supervisor Cluster. See Connect to the Supervisor Cluster as a vCenter Single Sign-On User.

Procedure

  1. Switch context to use the target cluster context.
    kubectl config use-context CLUSTER-NAME
  2. 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, such as the following: Namespace, API version, Resource version.