kubectl#

alias k and bash completion#

if hash kubectl 2>/dev/null; then
  source <(kubectl completion bash)
  alias k=kubectl
  complete -F __start_kubectl k
fi

felixhummel/configs

show all standard resources#

k get --all-namespaces all

Note that this might not show custom resources.

follow all events#

k events --all-namespaces --watch

show warning events#

k get events --field-selector type=Warning