diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2021-07-11 19:58:51 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2021-07-11 19:58:51 -0600 |
commit | 617ed3bd9f3d9519fe2354941f3dbf15b0c712ee (patch) | |
tree | caf617b35d3f5f7b5786483eedfcda9361dca108 /plugins/kubectl | |
parent | 0144641b7d8e4e6ff6ce153039b5a827f5347904 (diff) | |
parent | 36f444ed7325720ec05f182781ec7d6c9a4d675c (diff) | |
download | zsh-617ed3bd9f3d9519fe2354941f3dbf15b0c712ee.tar.gz zsh-617ed3bd9f3d9519fe2354941f3dbf15b0c712ee.tar.bz2 zsh-617ed3bd9f3d9519fe2354941f3dbf15b0c712ee.zip |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'plugins/kubectl')
-rw-r--r-- | plugins/kubectl/README.md | 1 | ||||
-rw-r--r-- | plugins/kubectl/kubectl.plugin.zsh | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/plugins/kubectl/README.md b/plugins/kubectl/README.md index 8937b2b80..f6651c8cd 100644 --- a/plugins/kubectl/README.md +++ b/plugins/kubectl/README.md @@ -107,7 +107,6 @@ plugins=(... kubectl) | ksss | `kubectl scale statefulset` | Scale a statefulset | | krsss | `kubectl rollout status statefulset`| Check the rollout status of a deployment | | | | **Service Accounts management** | -| kgsa | `kubectl get sa` | List all service accounts | | kdsa | `kubectl describe sa` | Describe a service account in details | | kdelsa | `kubectl delete sa` | Delete the service account | | | | **DaemonSet management** | diff --git a/plugins/kubectl/kubectl.plugin.zsh b/plugins/kubectl/kubectl.plugin.zsh index 56135274f..3630facaa 100644 --- a/plugins/kubectl/kubectl.plugin.zsh +++ b/plugins/kubectl/kubectl.plugin.zsh @@ -43,6 +43,7 @@ alias kgpwide='kgp -o wide' alias kep='kubectl edit pods' alias kdp='kubectl describe pods' alias kdelp='kubectl delete pods' +alias kgpall='kubectl get pods --all-namespaces -o wide' # get pod by label: kgpl "app=myapp" -n myns alias kgpl='kgp -l' @@ -151,7 +152,6 @@ alias kdpvc='kubectl describe pvc' alias kdelpvc='kubectl delete pvc' # Service account management. -alias kgsa="kubectl get sa" alias kdsa="kubectl describe sa" alias kdelsa="kubectl delete sa" |