API Versions
API groups has mainly three versions,
v1
which is a stable versionv1alpha1
v1beta1
v1alpha1
and v1beta1
are not stable versions and used by experts users. These may have bugs and issues.
While there can be multiple being supported, there are preferred and storage version. Preferred version is stable version such as v1
and storage version is the version that gets stored with the resource in etcd server.
We can enable/disable API version for these api groups in kube-apiserver in the command while starting it. We can use --runtime-config
flag and provide api group and its version. For example, --runtime-config=batch/v1alpha1
.