docs/deprecation.md
This document defines the Deprecation Policy for External DNS.
Kubernetes is a dynamic system driven by APIs, which evolve with each new release. A crucial aspect of any API-driven system is having a well-defined deprecation policy. This policy informs users about APIs that are slated for removal or modification. Kubernetes follows this principle and periodically refines or upgrades its APIs or capabilities. Consequently, older features are marked as deprecated and eventually phased out. To avoid breaking existing users, we should follow a simple deprecation policy for behaviors that a slated to be removed.
The features and capabilities either to evolve or need to be removed.
We follow the Kubernetes Deprecation Policy and API Versioning Scheme: alpha, beta, GA. It is therefore important to be aware of deprecation announcements and know when API versions will be removed, to help minimize the effect.
.Spec, .Status and .Status.Conditions[]Everything not listed in scope is not subject to this deprecation policy and it is subject to breaking changes, updates at any point in time, and deprecation - as long as it follows the Deprecation Process listed below.
This includes, but isn't limited to:
Any maintainer or contributor may propose including a feature, component, or behavior out of scope to be in scope of the deprecation policy.
The proposal must clearly outline the rationale for inclusion, the impact on users, stability, long term maintenance plan, and day-to-day activities, if such.
The proposal must be formalized by submitting a docs/proposal/EDP-XXX.md document in a Pull Request. Pull request must be labeled with kind/proposal.
The proposal template location is here. The template is quite complete, one can remove any unnecessary or irrelevant section on a specific proposal.
Any maintainer may propose deprecating a feature, component, or behavior (both in and out of scope). In Scope changes must abide to the Deprecation Policy above.
The proposal must clearly outline the rationale for deprecation, the impact on users, and any alternatives, if such.
The proposal must be formalized by submiting a design document as a Pull Request.
The proposing maintainer must present the proposed deprecation to the maintainer group. This can be done synchronously during a community meeting or asynchronously, through a GitHub Pull Request.
A majority vote of maintainers is required to approve the deprecation. Votes may be conducted asynchronously, with a reasonable deadline for responses (e.g., one week). Lazy Consensus applies if the reasonable deadline is extended, with a minimal of at least one other maintainer approving the changes.
Upon approval, the proposing maintainer is responsible for implementing the changes required to mark the feature as deprecated. This includes:
Deprecation must be introduced in the next release. The release must follow semantic versioning:
minor version bump is required.minor version bump is acceptableThe removal must follow standard Kubernetes deprecation timelines if the feature is in scope.