diff --git a/plugins/kubectl/README.md b/plugins/kubectl/README.md index 7a6cdaa59..ddeb6d138 100644 --- a/plugins/kubectl/README.md +++ b/plugins/kubectl/README.md @@ -26,6 +26,9 @@ 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 | +| kdelf! | `kubectl delete -f --grace-period=0`| Delete a pod using the type and name specified in -f argument with no grace period | +| kd | `kubectl describe ` | General describe | +| kg | `kubectl get` | General get | | | | **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 d509d8795..20c3c34c1 100644 --- a/plugins/kubectl/kubectl.plugin.zsh +++ b/plugins/kubectl/kubectl.plugin.zsh @@ -34,6 +34,9 @@ alias kcgc='kubectl config get-contexts' # General aliases alias kdel='kubectl delete' alias kdelf='kubectl delete -f' +alias kdelf!='kubectl delete -f --grace-period=0' +alias kd='kubectl describe' +alias kg='kubectl get' # Pod management. alias kgp='kubectl get pods'