-
Notifications
You must be signed in to change notification settings - Fork 387
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
Use Feature Gates to enable or disable features #847
Conversation
Thanks for your PR. The following commands are available:
These commands can only be run by members of the vmware-tanzu organization. |
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.
This idea is great, LGTM.
One more question: will this bring gates flags, like |
No, the library supports it but I didn't add that CLI flag as we use config file. |
/test-all |
/test-windows-conformance |
Is there a way to reduce the per-feature overhead of changing yamls->featureset->feature? |
Perhaps the feature list can be removed from yamls, I added it for convenience to edit, but we should have a doc to list experimental features and their stage anyway so user can refer to that doc to configure features. |
Thanks for your PR. The following commands are available:
These commands can only be run by members of the vmware-tanzu organization. |
/test-all |
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.
LGTM. Just some minor comments on "code comments".
4501511
to
a74c5eb
Compare
There are a number of features that are being developed and likely to be disabled by default in their early stage. Instead of adding a temporary config for each feature and maintaining them separately, this patch introduces Feature Gates to toggle the features. It will be easier to choose code branch based on FeatureGates' "Enabled" method and to promote features to beta and GA.
/test-all |
/test-windows-conformance |
1 similar comment
/test-windows-conformance |
/test-windows-conformance |
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.
So this seems like the ideal solution for thinks like Antrea-specific Network Policies. After your reply in #846 (comment), I still don't know whether the Antrea OVS Proxy implementation belongs under FeatureGates or not. It may be interesting for some users to - indefinitely - have the ability to disable it and fall back to using kube-proxy only (without getting a warning...).
However this is orthogonal to your PR. It is more about deciding what goes under FeatureGates and what is kept at the top-level of the configuration. So we may want to have this conversation in #772 instead. And I am only bringing it up because your issue (#846) used EnableAntreaProxy
as a motivating example.
@antoninbas Sure, let's discuss whether antrea service proxy should be an experimental feature or an optional feature in #772 |
There are a number of features that are being developed and likely to be disabled by default in their early stage. Instead of adding a temporary config for each feature and maintaining them separately, this patch introduces Feature Gates to toggle the features. It will be easier to choose code branch based on FeatureGates' "Enabled" method and to promote features to beta and GA.
There are a number of features that are being developed and likely to be disabled by default in their early stage. Instead of adding a temporary config for each feature and maintaining them separately, this patch introduces Feature Gates to toggle the features. It will be easier to choose code branch based on FeatureGates' "Enabled" method and to promote features to beta and GA.
There are a number of features that are being developed and likely to be
disabled by default in their early stage.
Instead of adding a temporary config for each feature and maintaining
them separately, this patch introduces Feature Gates to toggle the
features. It will be easier to choose code branch based on FeatureGates'
"Enabled" method and to promote features to beta and GA.
Closes #846