lefrog / kubectl-ns

kubectl namespace util

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kubectl-ns

Simple kubectl wrapper to ease passing of namespace.

Usage

Simply copy this script in your local bin directory (e.g. ./local/bin) and make symbolic link of it with the desired namespace as the extension. e.g.

ln -s kubectl-ns kubectl.foo

Now when you invoke kubectl.foo get pod it will automatically add --namespace=foo to the kubectl command.

About

kubectl namespace util

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%