An attempt to upload the kubeconfig file failed during the NSX Application Platform deployment preparation.

Problem

Before you can deploy the NSX Application Platform on the TKG Cluster on Supervisor or upstream Kubernetes cluster, you must upload the kubeconfig file provided by your infrastructure administrator. However, your attempt to upload the kubeconfig file failed.

Cause

The kubeconfig file is not in the correct YAML format.

Solution

Validate and correct the YAML format used in the kubeconfig file. Try to re-upload the modified file.