Skip to content

inkarkat/kubectl-extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

273 Commits
 
 
 
 
 
 
 
 

Repository files navigation

kubectl CLI extensions

Additions and tweaks to the kubectl CLI.

These are some personal aliases, shortcuts, and extensions that make (my) work with the Kubernetes command-line utility kubectl easier and faster. Some of them may be specific to my environment and workflow, but maybe someone finds a valuable nugget in there.

Installation

Download all / some selected extensions (note that some have dependencies, though) and put them somewhere in your PATH. You can then invoke them via kubectl-SUBCOMMAND.

It is recommended to also use the (Bash, but should also work in Korn shell and Dash) shell functions (e.g. in your .bashrc) found at shell/wrappers.sh to transparently invoke the extensions in the same way as the built-in Kubernetes commands, via kubectl SUBCOMMAND.

Note that Kubernetes also provides its own extension mechanism; these need to provide a YAML plugin descriptor, get command-line arguments already parsed, and are invoked through kubectl plugin PLUGIN-COMMAND. I don't intend to convert mine into that format, because parsing effort is minimal, and I prefer to seamlessly blend in with (or even override) built-in subcommands.

About

Additions and tweaks to the kubectl CLI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages