[ACTION REQUIRED] Feature Gate Dependencies

12 views
Skip to first unread message

Tim Allclair

unread,
Sep 30, 2025, 2:25:02 PM (11 hours ago) Sep 30
to dev
Until now, feature gate dependencies have been ad-hoc or implicit. Now, with #kubernetes/133697, feature gate dependencies can be explicitly declared and enforced. In particular, this means that components will refuse to start if a feature is enabled but a dependency is disabled.

For feature owners:
#kubernetes/133912 backfills dependencies for existing features, and makes it required for every feature to explicitly declare dependencies (or explicitly declare an empty set if there are none). If you are the owner of an existing feature gate, please review the backfilled dependencies for correctness.

For feature users:
The default feature enablement at every emulated version is guaranteed to continue working (enforced through tests), but if you manually enable or disable features you may now be required to enable or disable additional dependent feature gates.

In particular, setting AllAlpha=true will no longer work on its own! The simplest solution is to always set AllBeta=true whenever setting AllAlpha=true, or you can explicitly set the off-by-default beta dependencies. (Note that the reverse is not the case, since a Beta feature cannot depend on an Alpha feature).

Thank you.
-- Tim Allclair (@tallclair)

Davanum Srinivas

unread,
Sep 30, 2025, 7:54:17 PM (6 hours ago) Sep 30
to timal...@gmail.com, dev
Thanks for driving this Tim! 

--
You received this message because you are subscribed to the Google Groups "dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dev+uns...@kubernetes.io.
To view this discussion visit https://groups.google.com/a/kubernetes.io/d/msgid/dev/CALXpagwv%3DLQVw7VbwvDp7vzNkO9wEOF1tcL_%3DnW3Ft3XBUxPqg%40mail.gmail.com.


--
Davanum Srinivas :: https://twitter.com/dims
Reply all
Reply to author
Forward
0 new messages