kubectl api-resources
Print the supported API resources on the server
Options
Name | Description |
---|---|
-o, --output <Output Format> | Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file |
--api-group <arg> | Limit to resources in the specified API group |
--cached | Use the cached list of resources if available |
--namespaced | If false, non-namespaced resources will be returned, otherwise returning namespaced resources by default |
--no-headers | When using the default or custom-column output format, don't print headers (default print headers) |
--sort-by <arg> | If non-empty, sort nodes list using specified field. The field can be either 'name' or 'kind' |
--verbs <arg> | Limit to resources that support the specified verbs |