show kind

Print out the Group.Kind as part of the Name column.

Print out the Group.Kind as part of the Name column.

Note: This can be useful if the user did not specify the group in the command and they want to know which API is being used.

Command

kubectl get deployments --show-kind

Output

NAME                          DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
deployment.extensions/nginx   1         1         1            1           8m

Last modified September 30, 2020: SIG CLI docs - guide changes (d705a6d1)