kubectl api-versions
all
Print the supported API versions on the server, in the form of "group/version".
More info →Examples (1)
Print the supported API versions on the server, in the form of "group/version"
made by @shridhargupta | data from tldr-pages