2 releases
0.3.1 | Sep 13, 2024 |
---|---|
0.3.0 | Sep 13, 2024 |
#282 in Configuration
18KB
337 lines
kubectl-config-doctor
A kubectl
plugin to validate and test kubeconfigs.
💻 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
Dependencies
~114MB
~2.5M SLoC