diff --git a/pkg/kubectl/cmd/cmd.go b/pkg/kubectl/cmd/cmd.go index 739678210c8..55657c728cc 100644 --- a/pkg/kubectl/cmd/cmd.go +++ b/pkg/kubectl/cmd/cmd.go @@ -170,6 +170,7 @@ __custom_func() { // TODO: This should be populated using the discovery information from apiserver. valid_resources = `Valid resource types include: + * all * clusters (valid only for federation apiservers) * componentstatuses (aka 'cs') * configmaps (aka 'cm') diff --git a/pkg/kubectl/cmd/get.go b/pkg/kubectl/cmd/get.go index 7fab4c5d473..889ee9d2c02 100644 --- a/pkg/kubectl/cmd/get.go +++ b/pkg/kubectl/cmd/get.go @@ -77,7 +77,10 @@ var ( kubectl get rc,services # List one or more resources by their type and names. - kubectl get rc/web service/frontend pods/web-pod-13je7`) + kubectl get rc/web service/frontend pods/web-pod-13je7 + + # List all resources with different types. + kubectl get all`) ) // NewCmdGet creates a command object for the generic "get" action, which