kubectl-overview
This commit is contained in:
committed by
Peter (XiangPeng) Zhao
parent
e41a9f89d0
commit
84f076e6d7
@@ -21,9 +21,9 @@ where `command`, `TYPE`, `NAME`, and `flags` are:
|
||||
|
||||
* `TYPE`: Specifies the [resource type](#resource-types). Resource types are case-sensitive and you can specify the singular, plural, or abbreviated forms. For example, the following commands produce the same output:
|
||||
|
||||
$ kubectl get pod pod1
|
||||
$ kubectl get pods pod1
|
||||
$ kubectl get po pod1
|
||||
$ kubectl get pod pod1
|
||||
$ kubectl get pods pod1
|
||||
$ kubectl get po pod1
|
||||
|
||||
* `NAME`: Specifies the name of the resource. Names are case-sensitive. If the name is omitted, details for all resources are displayed, for example `$ kubectl get pods`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user