diff --git a/plugins/kubectl/README.md b/plugins/kubectl/README.md index c0db59362..b3a42992c 100644 --- a/plugins/kubectl/README.md +++ b/plugins/kubectl/README.md @@ -26,6 +26,8 @@ plugins=(... kubectl) | | | **General aliases** | | kdel | `kubectl delete` | Delete resources by filenames, stdin, resources and names, or by resources and label selector | | kdelf | `kubectl delete -f` | Delete a pod using the type and name specified in -f argument | +| kg | `kubectl get` | Get resources by filenames, stdin, resources and names, or by resources and label selector | +| kd | `kubectl describe` | Describe resources by filenames, stdin, resources and names, or by resources and label selector | | | | **Pod management** | | kgp | `kubectl get pods` | List all pods in ps output format | | kgpw | `kgp --watch` | After listing/getting the requested object, watch for changes | diff --git a/plugins/kubectl/kubectl.plugin.zsh b/plugins/kubectl/kubectl.plugin.zsh index 92688c53c..d1dff2b98 100644 --- a/plugins/kubectl/kubectl.plugin.zsh +++ b/plugins/kubectl/kubectl.plugin.zsh @@ -34,6 +34,8 @@ alias kcgc='kubectl config get-contexts' # General aliases alias kdel='kubectl delete' alias kdelf='kubectl delete -f' +alias kg='kubectl get' +alias kd='kubectl describe' # Pod management. alias kgp='kubectl get pods'