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
graduate RetroactiveDefaultStorageClass feature to GA in 1.28 #118102
graduate RetroactiveDefaultStorageClass feature to GA in 1.28 #118102
Conversation
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
05da26d
to
f89be37
Compare
f89be37
to
f1f9e17
Compare
/retest |
@RomanBednar As the feature-gate GAed and locked to default, we need also remove the EnableRetroactiveDefaultStorageClass field from the PersistentVolumeClaimSpecValidationOptions struct. On the other hand, we need remove the feature-gate checked in the pv controller. |
9479541
to
52f0a81
Compare
/test pull-kubernetes-e2e-storage-kind-disruptive |
@carlory Thank you for pointing that out. I'm aware of this but thought that a full cleanup of the featuregate should be done one release after GA (so 1.29) to keep a way to opt-out for one more release in case something goes wrong. If this is not desired procedure please let me know, but at this point I don't see any advantage of doing the full cleanup in 1.28. |
At present, I have not found a requirement document that must do a comprehensive cleanup. This seems to be a common practice, for example:
I think it's reasonable, when a feature is stable, to remove the feature-gate control of the code, to ensure that the feature is tested as expected by testing. When the feature-gate is removed in the next version, there will be no additional Code changes, which means there are no other risks |
@carlory According to Kubernetes deprecation policy the feature gate must function for not less than 6 months or 2 releases (whichever is longer) when transitioning from Beta to GA. https://kubernetes.io/docs/reference/using-api/deprecation-policy/#deprecation |
@RomanBednar IMO, we need remove the feature-gate check logic, but remain the feature-gate existing in the command line in order to make the binary work when users specify the feature-gate as same as the default value util the deprecation window is complete. If the feature-gate isn't locked to default, we need also remain the feature-gate check logic. because users can choose turn off/on a feature. |
@carlory Ah I see now, I'll do the cleanup then. Thanks! |
Since the feature is GA and locked to true, tests can no longer set it to false. Cleaning up by removing all references to this feature gate from tests. Feature gate will be removed in v1.29.
52f0a81
to
ac15d69
Compare
/lgtm |
LGTM label has been added. Git tree hash: 80a5f20b26b6097f0cafeb38fd842fa113810026
|
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jsafrane, msau42, RomanBednar 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Graduate RetroactiveDefaultStorageClass featrue to GA in 1.28.
Which issue(s) this PR fixes:
Fixes # - N/A
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: