kubectl-cred
kubectl-cred
is a kubernetes plugin to which switch to contexts and namespaces and clusters using an interactive CLI.
OVERVIEW
kubectl-cred
is a kubernetes plugin.
This plugin can switch not only context, namespace in k8s using an interactive UI, but also show all of namespaces on clusters and current context information beautifully.
HOW TO USE
# Switch context using an interactive CLI.
kubectl cred ctx
# Switch namespace using an interactive CLI.
kubectl cred ns
# Show your all of contexts information formatted tree.
kubectl cred ls
# Show your current context information.
kubectl cred current
# Rename context name in k8s config, using an interactive CLI.
kubectl cred rename
INSTALL
Support x86_64
Krew
$ kubectl krew index add gjbae1212 https://github.com/gjbae1212/kubectl-cred.git
$ kubectl krew install gjbae1212/cred
Etc
# homebrew
$ brew tap gjbae1212/kubectl-cred
$ brew install kubectl-cred
# mac
wget https://github.com/gjbae1212/kubectl-cred/releases/download/v0.1.7/kubectl-cred_v0.1.7_Darwin_x86_64.tar.gz
# linux
wget https://github.com/gjbae1212/kubectl-cred/releases/download/v0.1.7/kubectl-cred_v0.1.7_Linux_x86_64.tar.gz
# windows
wget https://github.com/gjbae1212/kubectl-cred/releases/download/v0.1.7/kubectl-cred_v0.1.7_Windows_x86_64.tar.gz
LICENSE
This project is following The MIT.