How long should a stable API element in Kubernetes be supported (at minimum) after deprecation?
A
9 months
B
24 months
C
12 months
Correta
D
6 months
Explicação Oficial / Explicações da Comunidade
In Kubernetes, stable API versions (e.g., v1) are supported for a minimum of 12 months after deprecation. This policy ensures that users have adequate time to migrate their workloads to newer API versions without breaking changes. The deprecation period for stable APIs is defined in the Kubernetes deprecation policy, which states that stable APIs must be supported for at least 12 months from the date of deprecation. This allows for a smooth transition and maintains backward compatibility. Other durations like 6, 9, or 24 months do not align with the official Kubernetes deprecation policy for stable APIs. Beta APIs have a shorter deprecation window (9 months), while alpha APIs may be removed at any time without notice. Therefore, the correct minimum support period for a stable API element after deprecation is 12 months.