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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified September 30, 2020: SIG CLI docs - guide changes (d705a6d)