{"repo":"DevOpsHiveHQ/kubech","free":true,"listed":false,"github":"https://github.com/DevOpsHiveHQ/kubech","clone":"git clone https://github.com/DevOpsHiveHQ/kubech.git","description":"Set kubectl context/namespace per shell/terminal to manage multi Kubernetes clusters at the same time (it's parallel kubectx/kubens)","language":"Shell","stars":156,"topics":["kubernetes","kubectl","bash","shell","k8s"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Kubech Set kubectl contexts/namespaces per shell/terminal to manage multi Kubernetes clusters at the same time, like kubectx/kubens but per shell/terminal. ToC - Why - Features - Install - Bash - Zsh - Usage - List available contexts - Switch context - List available namespaces - Switch namespace - Notes - To-do Why - If you manage multi K8s clusters, you will need a handy way to work more than one cluster at the same time. - kubectx/kubens tools fix this problem but globally, that means all shells and terminals will have the same context/namespace. - However, this is not helpful at all if you are actually working with multi clusters at the same time. - Thus, kubech comes to fix this problem so you can set K8s cluster context/namespace per shell/terminal. Features - Each shell/terminal will have its own context (K8s cluster) or namespace! - Easy to use! Just source it in your favorite shell. - It works out of the box! No aliases, no extra customizations, it doesn't matter if you work with 1 or 100 K8s clusters! - It still can be used along with other tools like kubectx/kubens . - It doesn't change anything in /.kube/config file. So it works perfectly with static and dynamic kube config files. - It supports extra kubectl config (in addition to /.kube/config ). - It supports autocomplete for contexts and namespaces. Install Clone this repo, then source kubech in your shell config file. Bash Zsh Completion for zsh with oh-my-zsh enabled. Please make sure autoload -U compinit && ","default_branch":null,"files":null,"tree":[],"storefront":"/r/DevOpsHiveHQ","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DevOpsHiveHQ/kubech/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}