-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KEP-Template: Clarify the stage name of deprecated feature gates #4898
KEP-Template: Clarify the stage name of deprecated feature gates #4898
Conversation
8cbc810
to
c271cf2
Compare
api/approval.go
Outdated
Stable *PRRMilestone `json:"stable" yaml:"stable,omitempty"` | ||
Deprecated *PRRMilestone `json:"deprecated" yaml:"deprecated,omitempty"` | ||
Removed *PRRMilestone `json:"removed" yaml:"removed,omitempty"` | ||
DeprecatedDisabled *PRRMilestone `json:"deprecatedDisabled" yaml:"deprecated-disabled,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding fields here is currently unused, but Removed
and Deprecated
fields have already been added here, and they also not be referenced by any code.
This PR may require API review. If so, when the changes are ready, complete the pre-review checklist and request an API review. Status of requested reviews is tracked in the API Review project. |
api/approval.go
Outdated
Stable *PRRMilestone `json:"stable" yaml:"stable,omitempty"` | ||
Deprecated *PRRMilestone `json:"deprecated" yaml:"deprecated,omitempty"` | ||
Removed *PRRMilestone `json:"removed" yaml:"removed,omitempty"` | ||
DeprecatedDisabled *PRRMilestone `json:"deprecatedDisabled" yaml:"deprecated-disabled,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super nit-pick, but maybe we want "deprecatedAnnounced" and "deprecatedDisabled" for congruence?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or deprecated->disabled->removed ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For compatibility reasons, I think deprecated->disabled->removed is better, because some KEPs already use Deprecated
as milestone, and changing it to deprecatedAnnounced
might confuse some users!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thockin Do you think it's satisfactory enough at present?
c271cf2
to
eec531d
Compare
Thanks! /lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: HirazawaUi, johnbelamaric, thockin The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi folks, I think this PR missed updating the validation to support the new stages. I made an attempt to fix that here: #5049 |
For us, deprecating a user-visible feature, or adding a bug fix that could be seen as 'removal', requires a small KEP for discussion and to document them and we also should add a Deprecated feature gate for such cases.
For these Deprecated feature gates, their lifecycle is shorter than a full feature gate lifecycle, typically following featuregate.Deprecated → wait a few releases → remove. So, we only need two phases to describe them, but we haven't clearly defined the names of these phases yet.
Some useful references: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/feature-gates.md#:~:text=Bug%20fixes%20that,can%20be%20disabled.
https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/feature-gates.md#deprecation