Meshery Docs ยท ๐ Extensibility & Reference
ErrKubeconfigUnreadableCode-1501
Component: component / meshery-server
Code: meshery-server-1501 (ErrKubeconfigUnreadableCode-1501)
Severity: Alert
Short description
The kubeconfig could not be parsed
Long description
The uploaded file is empty, is not YAML, or does not look like a kubeconfig (it has no kind: Config, current-context, clusters, contexts, or users).
Probable cause
- A different file was selected, or the kubeconfig was truncated or edited by hand.
Suggested remediation
- Upload the kubeconfig file itself (for example ~/.kube/config), and check it with kubectl config view --kubeconfig <file>.