From 43d7618d9d1d48991a52164fe09231d2a631c48d Mon Sep 17 00:00:00 2001 From: Andrew vonderLuft Date: Thu, 24 Oct 2019 12:26:04 -0700 Subject: [PATCH] adding job management, et al. --- plugins/kubectl/kubectl.plugin.zsh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plugins/kubectl/kubectl.plugin.zsh b/plugins/kubectl/kubectl.plugin.zsh index 6c1696d5e..d36d48132 100644 --- a/plugins/kubectl/kubectl.plugin.zsh +++ b/plugins/kubectl/kubectl.plugin.zsh @@ -23,6 +23,7 @@ alias kaf='kubectl apply -f' alias keti='kubectl exec -ti' # Manage configuration quickly to switch contexts between local, dev ad staging. +alias kcv='kubectl config view' alias kcuc='kubectl config use-context' alias kcsc='kubectl config set-context' alias kcdc='kubectl config delete-context' @@ -60,6 +61,12 @@ alias kei='kubectl edit ingress' alias kdi='kubectl describe ingress' alias kdeli='kubectl delete ingress' +# Job management +alias kgj='kubectl get jobs' +alias kgjwide='kubectl get jobs -o wide' +alias kgcj='kubectl get cronjobs' +alias kgcjwide='kubectl get cronjobs -o wide' + # Namespace management alias kgns='kubectl get namespaces' alias kens='kubectl edit namespace' @@ -122,6 +129,7 @@ alias kcp='kubectl cp' # Node Management alias kgno='kubectl get nodes' +alias kgnowide='kubectl get nodes -o wide' alias keno='kubectl edit node' alias kdno='kubectl describe node' alias kdelno='kubectl delete node'