kubectl-cred

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2022 License: MIT Imports: 1 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL