See individual files for more detailed descriptions.
Usage: chns NAMESPACE
NAMESPACE can be the shortest substring that uniquely identifies the namespace within the current context.
Zsh completions available.
Usage: chctx CONTEXT [NAMESPACE]
CONTEXT can be the shortest substring that uniquely identifies the context.
Zsh completions available. NAMESPACE feature uses chns.
Usage: exec-pod POD_TYPE [CONTAINER]
Chooses a pod whose name starts with POD_TYPE and executes kubectl exec -ti "$POD" -c=$CONTAINER -- sh
.
E.g. exec-pod web
to enter a pod in the "web" deployment
Usage: kgoom [ARGS]
Returns information about any pods that have containers that have been OOMKilled. Any args passed to the script (e.g. namespace, context flags) will be passed to the kubectl command.
Example:
NAMESPACE / NAME / CONTAINERS / LAST TERMINATION REASON / LAST TERMINATION TIME
my-app web nginx OOMKilled 2017-11-24T09:12:38Z
Looks like this:
Or in a git repo:
Or if the last command failed:
Creates aliases named after your kube contexts that switch to the context in question. The alias for minikube is minik
to avoid conflict with the minikube binary.
WARNING: Think about what your context names might conflict with before using this!
Example: Given a kubeconfig containing context "fave", this plugin will alias fave
to kubectl config use-context fave
.