kubectl api-resources

Print the supported API resources on the server

Options

NameDescription
-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
--cachedUse the cached list of resources if available
--namespacedIf false, non-namespaced resources will be returned, otherwise returning namespaced resources by default
--no-headersWhen 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