https://github.com/sunny0826/kubecm
Manage your kubeconfig more easily.
https://github.com/sunny0826/kubecm
cli go golang kubeconfig kubeconfig-manager kubernetes switch-namespace
Last synced: about 1 month ago
JSON representation
Manage your kubeconfig more easily.
- Host: GitHub
- URL: https://github.com/sunny0826/kubecm
- Owner: sunny0826
- License: apache-2.0
- Created: 2019-07-23T01:55:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-08T07:59:26.000Z (about 1 year ago)
- Last Synced: 2024-04-09T08:29:40.747Z (about 1 year ago)
- Topics: cli, go, golang, kubeconfig, kubeconfig-manager, kubernetes, switch-namespace
- Language: Go
- Homepage: http://kubecm.cloud
- Size: 45.1 MB
- Stars: 800
- Watchers: 9
- Forks: 91
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
![]()


[](https://goreportcard.com/report/github.com/sunny0826/kubecm)

[](https://github.com/sunny0826/kubecm/releases)
[](https://codecov.io/gh/sunny0826/kubecm)
[](https://bestpractices.coreinfrastructure.org/projects/6065)
[](#contributors)
## π Install
[](https://formulae.brew.sh/formula/kubecm)
[](https://github.com/sunny0826/kubecm/releases)Using [Krew](https://krew.sigs.k8s.io/):
```bash
kubectl krew install kc
```Using Homebrew:
```bash
brew install kubecm
```Source binary:
[Download the binary](https://github.com/sunny0826/kubecm/releases)
## π« Highlights
- **Context Management**: Switch between Kubernetes **clusters** and **namespaces** in a single command.
- **Merge-Kubeconfig**: Merge multiple kubeconfig files into one.
- **Interactive Mode**: Interactively select the context you want to switch to.
- **Multi-Platform**: Support Linux, macOS, and Windows.
- **Auto-Completion**: Support auto-completion for Bash, Zsh, and Fish.## π Documentation
For full documentation, please visit the KubeCM website: [https://kubecm.cloud](https://kubecm.cloud)
## π¬ Demo
[](https://asciinema.org/a/663642)
## π€ Contribute
We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Becoming a maintainerFeel free to open [issue](https://github.com/sunny0826/kubecm/issues/new) and [pull requests](https://github.com/sunny0826/kubecm/pulls). Any feedback is highly appreciated!
Be sure to follow our [Community Guidelines](https://kubecm.cloud/en-us/contribute) when submitting your PR and interacting with other folks in this repository.
## π Star History
[](https://star-history.com/#sunny0826/kubecm)
## β¨ Contributors
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
Xudong Guo
π» π π§
Cheng Wang
π»
Neko Ayaka
π»
l1b0k
π»
Zhizhen He
π»
Hang Yu
π»
dennislapchenko
π»
cnfatal
π»
Se7en
π» π
Yarden Shoham
π» β οΈ π
Vimsucks
π»
Shunsuke Suzuki
π»
YS Liu
π»
Sarun Nuntaviriyakul
π»
Max Anderson
π»
Mario Fritschen
π»
Jia Sui
π»
AdamRussak
π»
Rui Chen
π
Michael Burman
π π»
Jan-Otto KrΓΆpke
π»
yxxhero
π»
Harry Li
π»
Pone Ding
π»
![]()
Add your contributions
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!