Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aptakube/kubectl-config-doctor
🏥 Kubectl plugin to validate and test kubeconfigs
https://github.com/aptakube/kubectl-config-doctor
kubectl kubectl-plugins
Last synced: 2 months ago
JSON representation
🏥 Kubectl plugin to validate and test kubeconfigs
- Host: GitHub
- URL: https://github.com/aptakube/kubectl-config-doctor
- Owner: aptakube
- License: mit
- Created: 2024-09-12T15:28:57.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-16T11:07:40.000Z (4 months ago)
- Last Synced: 2024-10-19T14:03:32.145Z (3 months ago)
- Topics: kubectl, kubectl-plugins
- Language: Rust
- Homepage: https://aptakube.com/kubectl-config-doctor
- Size: 318 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kubectl-config-doctor
A `kubectl` plugin to validate and test kubeconfigs.
![Release](https://img.shields.io/github/v/release/aptakube/kubectl-config-doctor)
![License](https://img.shields.io/github/license/aptakube/kubectl-config-doctor)## 💻 Install
### Via [Krew](https://github.com/kubernetes-sigs/krew) (Recommended):
```shell
$ kubectl krew install config-doctor
```### Via [Cargo](https://doc.rust-lang.org/stable/cargo/):
```shell
$ 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
```shell
$ kubectl config-doctor
```## ✨ Demo
![](./demo.png)
## 📃 License
MIT
## ❤️ Acknowledgement