The attempt to precheck the TKC or upstream Kubernetes cluster connection failed.

Problem

The NSX Manager tried to access the TKC 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 TKC 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 TKC or upstream Kubernetes cluster that is accessible from the NSX Manager.