查询集群所支持的不同资源版本
[root@JumperServer:~] # kubectl api-versions
admissionregistration.k8s.io/v1alpha1
admissionregistration.k8s.io/v1beta1
apiextensions.k8s.io/v1beta1
apiregistration.k8s.io/v1
apiregistration.k8s.io/v1beta1
apps/v1
apps/v1beta1
apps/v1beta2
authentication.k8s.io/v1
authentication.k8s.io/v1beta1
authorization.k8s.io/v1
authorization.k8s.io/v1beta1
autoscaling/v1
autoscaling/v2beta1
autoscaling/v2beta2
batch/v1
batch/v1beta1
batch/v2alpha1
certificates.k8s.io/v1beta1
clever.caicloud.io/v1alpha2
config.caicloud.io/v1alpha1
coordination.k8s.io/v1beta1
crd.projectcalico.org/v1
custom.metrics.k8s.io/v1beta1
dataset.caicloud.io/v1alpha2
events.k8s.io/v1beta1
extensions/v1beta1
k8s.cni.cncf.io/v1
kubeflow.org/v1alpha1
kubeflow.org/v1beta2
loadbalance.caicloud.io/v1alpha2
metrics.k8s.io/v1beta1
microservice.caicloud.io/v1alpha1
networking.caicloud.io/v1alpha1
networking.k8s.io/v1
orchestration.caicloud.io/v1alpha1
policy/v1beta1
qegis.k8s.io/v1alpha1
rbac.authorization.k8s.io/v1
rbac.authorization.k8s.io/v1beta1
release.caicloud.io/v1alpha1
resource.caicloud.io/v1beta1
scheduling.k8s.io/v1beta1
sparkoperator.k8s.io/v1beta1
storage.k8s.io/v1
storage.k8s.io/v1beta1
tenant.caicloud.io/v1alpha1
v1