Skip to content

kubectl-cred is a kubernetes plugin to which switch to contexts and namespaces and clusters using an interactive CLI.

License

Notifications You must be signed in to change notification settings

gjbae1212/kubectl-cred

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubectl-cred

kubectl-cred is a kubernetes plugin to which switch to contexts and namespaces and clusters using an interactive CLI.

license

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.

About

kubectl-cred is a kubernetes plugin to which switch to contexts and namespaces and clusters using an interactive CLI.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published