Skip to content

feature-state banners could be more user-friendly #51247

Open
@danwinship

Description

@danwinship

Looking at https://kubernetes.io/docs/reference/networking/virtual-ips/#traffic-distribution, I see

FEATURE STATE: Kubernetes v1.33 [stable] (enabled by default: true)

re: ServiceTrafficDistribution, and then a bit later, in reference to PreferSameTrafficDistribution:

FEATURE STATE: Kubernetes v1.33 [alpha] (enabled by default: false)

And my first thought was "wait, why does it say PreferSameTrafficDistribution is enabled by default?!" before I realized that, no, it doesn't say it's enabled by default, it says "enabled by default: false"... which is a kind of nerdy and not obvious way of saying it's not enabled, and it would be much nicer if it said "disabled by default" or "not enabled by default" or something like that.

(And then I started thinking other things, like "why is alpha/beta/stable in brackets like it's optional / secondary information, when it's actually the most important part of the banner?" and "shouldn't it include the feature gate name itself as well, especially for non-GA features?"...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/web-developmentIssues or PRs related to the kubernetes.io's infrastructure, design, or build processespriority/backlogHigher priority than priority/awaiting-more-evidence.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions