Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add valid resource types for kubectl get #16716

Merged
merged 1 commit into from
Nov 6, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions docs/man/man1/kubectl-get.1
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,6 @@ $ kubectl get pods
# List all pods in ps output format with more information (such as node name).
$ kubectl get pods \-o wide

# List all pods in resource/name format (such as pod/nginx).
$ kubectl get pods \-o name

# List a single replication controller with specified NAME in ps output format.
$ kubectl get replicationcontroller web

Expand Down
5 changes: 1 addition & 4 deletions docs/user-guide/kubectl/kubectl_get.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ $ kubectl get pods
# List all pods in ps output format with more information (such as node name).
$ kubectl get pods -o wide

# List all pods in resource/name format (such as pod/nginx).
$ kubectl get pods -o name

# List a single replication controller with specified NAME in ps output format.
$ kubectl get replicationcontroller web

Expand Down Expand Up @@ -132,7 +129,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-09-22 12:53:42.288852192 +0000 UTC
###### Auto generated by spf13/cobra on 4-Nov-2015

<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/user-guide/kubectl/kubectl_get.md?pixel)]()
Expand Down
3 changes: 3 additions & 0 deletions pkg/kubectl/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ __custom_func() {
* persistentvolumeclaims (aka 'pvc')
* limitranges (aka 'limits')
* resourcequotas (aka 'quota')
* componentstatuses (aka 'cs')
* endpoints (aka 'ep')
* quota
`
)

Expand Down
3 changes: 0 additions & 3 deletions pkg/kubectl/cmd/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ $ kubectl get pods
# List all pods in ps output format with more information (such as node name).
$ kubectl get pods -o wide

# List all pods in resource/name format (such as pod/nginx).
$ kubectl get pods -o name

# List a single replication controller with specified NAME in ps output format.
$ kubectl get replicationcontroller web

Expand Down