24 Apr 2022

How to find short names for Kubernetes resources in kubectl

  • kubernetes
  • k8s
  • minikube
  • howto

You probably know that you can use kubectl get po instead of kubectl get pods to get the list of all the pods in your cluster. Did you know that, you can easily find the other short names for Kubernetes commands? Just type

kubectl api-resources

Voila! You will see all the available short names as below.

k8s short names