-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Support Feature Gates #17657
Comments
+1 from me |
i'm a proponent to not prefix experimental features (flags, k8s labels, etc) with "experimental" because it's a breaking change, yes. in terms of using feature gates in etcd, i don't see an issue. it's a smoother op-in for users when a beta FG enables a feature by default and has the opt-out. |
+100 from me as well! Really happy to see this initiative being driven forward! (GitHub is doing weird things in their mobile UI) |
Sounds good, what's the plan for the current experimental features? |
Expect we alias them to prevent breaking changes at least for 1 release, have both |
Agreed with this. If we decide to graduate or deprecate an experimental feature, we should keep the experimental flag
No strong opinion on this. I expect the |
+1 for the feature gate. |
+1 for this. Is it good timing to migrate and deprecate all the existing experimental features in v3.6? 👀 |
Let's discuss it under #16292. |
I can take on this issue, and start a KEP cc @stackbaek |
What would you like to be added?
Currently we add any new feature as an experimental feature with a configuration flag prefixed with "
experimental
", e.g.--experimental-feature-name
. When we decide to graduate the experimental feature, we remove the prefixexperimental
. Refer to contributor-guide/features.md. Obviously it's a breaking change when we rename any configuration flag, so it isn't good.So propose to add feature gates in the similar way as Kubernetes does. We can turn on or off any feature using the
--feature-gates
flag.Reference:
I expect any new etcd features should follow the feature gates process once the feature gates feature is ready,
cc @fuweid @jmhbnz @serathius @siyuanfoundation @neolit123 @logicalhan @ArkaSaha30
Why is this needed?
Support a better & non-breaking way to manage new features
The text was updated successfully, but these errors were encountered: