← 返回命令列表

Linux command

kubectl-api-versions 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List all API versions

kubectl api-versions

说明

kubectl api-versions lists all available API versions in the Kubernetes cluster. Shows group/version format for each available API. Useful for determining which API versions are supported when writing manifests.

FAQ

What is the kubectl-api-versions command used for?

kubectl api-versions lists all available API versions in the Kubernetes cluster. Shows group/version format for each available API. Useful for determining which API versions are supported when writing manifests.

How do I run a basic kubectl-api-versions example?

Run `kubectl api-versions` in a terminal, then adjust file names, paths, flags, or remote targets for your system.