Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.19 KB

README.md

File metadata and controls

55 lines (36 loc) · 1.19 KB

kubectl-config-doctor

A kubectl plugin to validate and test kubeconfigs.

Release License

💻 Install

Via Krew (Recommended):

$ kubectl krew install config-doctor

Via Cargo:

$ cargo install kubectl-config-doctor

📝 Intro

If you're having issues connecting to a Kubernetes cluster, there's a good chance that the problem lies in your kubeconfig file.

kubectl-config-doctor is a tool that can help you diagnose common issues with your kubeconfig file, such as:

  • Duplicate contexts/clusters/users
  • Missing contexts/clusters/users
  • Incorrectly formatted kubeconfig files
  • Unreachable proxy api
  • Unreachable cluster api
  • Invalid authentication methods
  • Files that don't exist
  • ... and more!

🚀 Usage

$ kubectl config-doctor

✨ Demo

📃 License

MIT

❤️ Acknowledgement

Aptakube