The attempt to precheck the TKG Cluster on Supervisor or upstream Kubernetes cluster connection failed.

Problem

The NSX Manager tried to access the TKG Cluster on Supervisor or upstream Kubernetes cluster that you specified, but the cluster was inaccessible.

Cause

The cause of the connection precheck failure can be any of the following reasons.

  • The kubeconfig file is not in the correct YAML format.

  • The kubeconfig file is expired.

  • The kubeconfig file that you uploaded is not for the correct TKG Cluster on Supervisor or upstream Kubernetes cluster.

Solution

To try to resolve the connectivity precheck failure, use the following information.

  • Validate and correct the YAML format used in the kubeconfig file.

  • If the kubeconfig file has expired, re-upload a valid and up-to-date kubeconfig file.

  • Verify that you have uploaded the correct kubeconfig file for the TKG Cluster on Supervisor or upstream Kubernetes cluster that is accessible from the NSX Manager.