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

  1. kubectl get deployments --show-kind

Output

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