mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-26 07:14:12 +00:00
The v1beta1 API is identical to the previous v1alpha4, which erroneously was still called "v1alpha3" in a few places, including the gRPC interface definition itself. The only reason for v1beta1 is to document the increased maturity of this API. To simplify the transition, kubelet supports both v1alpha4 and v1beta1, picking the more recent one automatically. All that DRA driver authors need to do to implement v1beta1 is to update to the latest k8s.io/dynamic-resource-allocation/kubeletplugin: it will automatically register both API versions unless explicitly configured otherwise, which is mostly just for testing. DRA driver authors may replace their package import of v1alpha4 with v1beta1, but they don't have to because the types in both packages are the same.