From dd30cf104c9ca42d89d26a134382ca421869ce7e Mon Sep 17 00:00:00 2001 From: Aleksandr Kozlov Date: Mon, 22 Jan 2018 12:54:02 +0300 Subject: [PATCH 1/2] Added kgpall alias --- plugins/kubectl/kubectl.plugin.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/kubectl/kubectl.plugin.zsh b/plugins/kubectl/kubectl.plugin.zsh index 88177b5a0..3c6e8045c 100644 --- a/plugins/kubectl/kubectl.plugin.zsh +++ b/plugins/kubectl/kubectl.plugin.zsh @@ -24,6 +24,7 @@ alias klp='k logs pods' alias kep='k edit pods' alias kdp='k describe pods' alias kdelp='k delete pods' +alias kgpall='k get pods --all-namespaces -o wide' # Service management. alias kgs='k get svc' From baced0cdcf491b1ecf7176f5bba16a3a95dd0460 Mon Sep 17 00:00:00 2001 From: Robby Russell Date: Sun, 13 Jun 2021 08:10:29 -0700 Subject: [PATCH 2/2] style(kubectl): Being more explicit alias to the main CLI tool instead of to another alias (#6567) --- plugins/kubectl/kubectl.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/kubectl/kubectl.plugin.zsh b/plugins/kubectl/kubectl.plugin.zsh index b79b7c941..3630facaa 100644 --- a/plugins/kubectl/kubectl.plugin.zsh +++ b/plugins/kubectl/kubectl.plugin.zsh @@ -43,7 +43,7 @@ alias kgpwide='kgp -o wide' alias kep='kubectl edit pods' alias kdp='kubectl describe pods' alias kdelp='kubectl delete pods' -alias kgpall='k get pods --all-namespaces -o wide' +alias kgpall='kubectl get pods --all-namespaces -o wide' # get pod by label: kgpl "app=myapp" -n myns alias kgpl='kgp -l'