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
当前内容版权归 kubernetes官网 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 kubernetes官网 .