Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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


Aptakube