Merge pull request #32687 from jouve/resource_type

Automatic merge from submit-queue

update list of vailable resources

Hi,

kubectl get --help produce a list of resource types and aliases :

```
Valid resource types include:
   * clusters (valid only for federation apiservers)
   * componentstatuses (aka 'cs')
   ...
```

``` release-note
Update the list of resources in kubectl get --help
```

The list is currently outdated (for exemple missing networkpolicy).

http://kubernetes.io/docs/user-guide/kubectl-overview/#resource-types has the same data and is also outdated.

The patch updates these 2 lists.
This commit is contained in:
Kubernetes Submit Queue
2016-10-31 09:28:29 -07:00
committed by GitHub

View File

@@ -175,25 +175,28 @@ __custom_func() {
* configmaps (aka 'cm') * configmaps (aka 'cm')
* daemonsets (aka 'ds') * daemonsets (aka 'ds')
* deployments (aka 'deploy') * deployments (aka 'deploy')
* events (aka 'ev')
* endpoints (aka 'ep') * endpoints (aka 'ep')
* events (aka 'ev')
* horizontalpodautoscalers (aka 'hpa') * horizontalpodautoscalers (aka 'hpa')
* ingress (aka 'ing') * ingresses (aka 'ing')
* jobs * jobs
* limitranges (aka 'limits') * limitranges (aka 'limits')
* nodes (aka 'no')
* namespaces (aka 'ns') * namespaces (aka 'ns')
* statefulsets (alpha feature, may be unstable) * networkpolicies
* pods (aka 'po') * nodes (aka 'no')
* persistentvolumes (aka 'pv')
* persistentvolumeclaims (aka 'pvc') * persistentvolumeclaims (aka 'pvc')
* quota * persistentvolumes (aka 'pv')
* resourcequotas (aka 'quota') * pods (aka 'po')
* podsecuritypolicies (aka 'psp')
* podtemplates
* replicasets (aka 'rs') * replicasets (aka 'rs')
* replicationcontrollers (aka 'rc') * replicationcontrollers (aka 'rc')
* resourcequotas (aka 'quota')
* secrets * secrets
* serviceaccounts (aka 'sa') * serviceaccounts (aka 'sa')
* services (aka 'svc') * services (aka 'svc')
* storageclasses
* thirdpartyresources
` `
) )