Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a026ca4

Browse files
committed
Merge pull request #8925 from andronat/fix_7842
Fix help msg for kubectl get cmd
2 parents ff51f0b + 9cb0eaf commit a026ca4

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

docs/kubectl_get.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ Display one or many resources
88
Display one or many resources.
99

1010
Possible resources include pods (po), replication controllers (rc), services
11-
(svc), nodes, events (ev), or component statuses (cs).
11+
(svc), nodes, events (ev), component statuses (cs), limit ranges (limits),
12+
minions (mi), persistent volumes (pv), persistent volume claims (pvc)
13+
or resource quotas (quota).
1214

1315
By specifying the output as 'template' and providing a Go template as the value
1416
of the --template flag, you can filter the attributes of the fetched resource(s).
@@ -85,6 +87,6 @@ $ kubectl get rc/web service/frontend pods/web-pod-13je7
8587
### SEE ALSO
8688
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
8789

88-
###### Auto generated by spf13/cobra at 2015-05-22 14:24:30.17132893 +0000 UTC
90+
###### Auto generated by spf13/cobra at 2015-05-28 22:43:52.329286408 +0000 UTC
8991

9092
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/kubectl_get.md?pixel)]()

docs/man/man1/kubectl-get.1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ Display one or many resources.
1717

1818
.PP
1919
Possible resources include pods (po), replication controllers (rc), services
20-
(svc), nodes, events (ev), or component statuses (cs).
20+
(svc), nodes, events (ev), component statuses (cs), limit ranges (limits),
21+
minions (mi), persistent volumes (pv), persistent volume claims (pvc)
22+
or resource quotas (quota).
2123

2224
.PP
2325
By specifying the output as 'template' and providing a Go template as the value

pkg/kubectl/cmd/get.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ const (
3232
get_long = `Display one or many resources.
3333
3434
Possible resources include pods (po), replication controllers (rc), services
35-
(svc), nodes, events (ev), or component statuses (cs).
35+
(svc), nodes, events (ev), component statuses (cs), limit ranges (limits),
36+
minions (mi), persistent volumes (pv), persistent volume claims (pvc)
37+
or resource quotas (quota).
3638
3739
By specifying the output as 'template' and providing a Go template as the value
3840
of the --template flag, you can filter the attributes of the fetched resource(s).`

0 commit comments

Comments
 (0)