Merge pull request #12016 from hurf/shortcut

Better help message for get and describe
This commit is contained in:
Mike Danese
2015-07-31 13:53:02 -07:00
7 changed files with 23 additions and 20 deletions

View File

@@ -49,9 +49,9 @@ will first check for an exact match on RESOURCE and NAME_PREFIX. If no such reso
exists, it will output details for every resource that has a name prefixed with NAME_PREFIX
Possible resources include (case insensitive): pods (po), services (svc),
replicationcontrollers (rc), nodes (no), events (ev), componentstatuses (cs),
limitranges (limits), persistentvolumes (pv), persistentvolumeclaims (pvc),
resourcequotas (quota) or secrets.
replicationcontrollers (rc), nodes (no), events (ev), limitranges (limits),
persistentvolumes (pv), persistentvolumeclaims (pvc), resourcequotas (quota),
namespaces (ns) or secrets.
```
kubectl describe (RESOURCE NAME_PREFIX | RESOURCE/NAME)
@@ -114,7 +114,7 @@ $ kubectl describe pods frontend
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
###### Auto generated by spf13/cobra at 2015-07-15 01:43:24.778753787 +0000 UTC
###### Auto generated by spf13/cobra at 2015-07-31 07:12:36.111698336 +0000 UTC
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->

View File

@@ -43,7 +43,7 @@ Display one or many resources.
Possible resources include (case insensitive): pods (po), services (svc),
replicationcontrollers (rc), nodes (no), events (ev), componentstatuses (cs),
limitranges (limits), persistentvolumes (pv), persistentvolumeclaims (pvc),
resourcequotas (quota) or secrets.
resourcequotas (quota), namespaces (ns), endpoints (ep) or secrets.
By specifying the output as 'template' and providing a Go template as the value
of the --template flag, you can filter the attributes of the fetched resource(s).
@@ -125,7 +125,7 @@ $ kubectl get rc/web service/frontend pods/web-pod-13je7
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
###### Auto generated by spf13/cobra at 2015-07-15 01:43:24.778535128 +0000 UTC
###### Auto generated by spf13/cobra at 2015-07-30 08:43:29.371131796 +0000 UTC
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->