Use TYPE instead of RESOURCE in help string
For commands in kubectl, use TYPE in help string.
This commit is contained in:
@@ -20,10 +20,10 @@ This command joins many API calls together to form a detailed description of a
|
||||
given resource or group of resources.
|
||||
|
||||
.PP
|
||||
$ kubectl describe RESOURCE NAME\_PREFIX
|
||||
$ kubectl describe TYPE NAME\_PREFIX
|
||||
|
||||
.PP
|
||||
will first check for an exact match on RESOURCE and NAME\_PREFIX. If no such resource
|
||||
will first check for an exact match on TYPE and NAME\_PREFIX. If no such resource
|
||||
exists, it will output details for every resource that has a name prefixed with NAME\_PREFIX
|
||||
|
||||
.PP
|
||||
|
@@ -16,7 +16,7 @@ kubectl get \- Display one or many resources
|
||||
Display one or many resources.
|
||||
|
||||
.PP
|
||||
Possible resources include (case insensitive): pods (po), services (svc),
|
||||
Possible resource types include (case insensitive): pods (po), services (svc),
|
||||
replicationcontrollers (rc), nodes (no), events (ev), componentstatuses (cs),
|
||||
limitranges (limits), persistentvolumes (pv), persistentvolumeclaims (pvc),
|
||||
resourcequotas (quota), namespaces (ns), endpoints (ep) or secrets.
|
||||
|
@@ -16,7 +16,7 @@ kubectl stop \- Deprecated: Gracefully shut down a resource by name or filename.
|
||||
Deprecated: Gracefully shut down a resource by name or filename.
|
||||
|
||||
.PP
|
||||
stop command is deprecated, all its functionalities are covered by delete command.
|
||||
The stop command is deprecated, all its functionalities are covered by delete command.
|
||||
See 'kubectl delete \-\-help' for more details.
|
||||
|
||||
.PP
|
||||
|
Reference in New Issue
Block a user