commands.sh

kubectl api-resources

all

Print the supported API resources on the server.

More info →

Options (1)

-o, --outputboolean

Print the supported API resources with more information

Example: kubectl api-resources {{[-o|--output]}} wide

Examples (6)

Print the supported API resources

Print the supported API resources with more information

kubectl api-resources [-o|--output] wide

Print the supported API resources sorted by a column

kubectl api-resources --sort-by name

Print the supported namespaced resources

Print the supported non-namespaced resources

kubectl api-resources --namespaced=false

Print the supported API resources with a specific API group

kubectl api-resources --api-group api_group
made by @shridhargupta | data from tldr-pages