-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 Metrics API to GA #5208
base: master
Are you sure you want to change the base?
Conversation
ameukam
commented
Mar 17, 2025
- One-line PR description:
- Issue link:
- Other comments:
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ameukam The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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.
Try keps/sig-instrumentation/api-for-internal-metrics/
We try not to call features "Graduate X to GA";we just call them "X".
name: Graduate metrics.k8s.io API to GA | ||
title: Graduate metrics.k8s.io API to GA |
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.
name: Graduate metrics.k8s.io API to GA | |
title: Graduate metrics.k8s.io API to GA | |
name: API for internal metrics integration | |
title: API for internal metrics integration |
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.
"internal metrics" ? What do you mean ?
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.
We can pick a different name; the key thing is to drop "Graduate" from the name of the enhancement.
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.
We've called it "graduate ..." on KEPs that are laying out a new plan to stabilize an API.
E.G.
https://github.com/kubernetes/enhancements/tree/master/keps/sig-autoscaling/2702-graduate-hpa-api-to-GA
https://github.com/kubernetes/enhancements/tree/master/keps/sig-apps/19-Graduate-CronJob-to-Stable
https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/2334-graduate-server-side-get-and-partial-objects-to-GA/README.md
https://github.com/kubernetes/enhancements/tree/master/keps/sig-api-machinery/2338-graduate-API-gzip-compression-support-to-GA
...
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.
On several of those, I've tried to intervene to fix what I see as problematic KEP naming.
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.
KEP-19 for example is now titled CronJobs (previously ScheduledJobs)
keps/sig-instrumentation/Graduate metrics.k8s.io API to GA/kep.yaml
Outdated
Show resolved
Hide resolved
Signed-off-by: Arnaud Meukam <[email protected]>
We actually do tend to call "graduate X" when we're plotting how to deal with existing functionality that has failed to graduate previously. There are many examples of htis. We don't do this when it's a net-new feature. I actually think it's more clear to note that we're not creating a new metrics API, we're discussing how to stabilize the current one. Calling this "Metrics API" would be pretty misleading, IMHO. Calling it "API for Internal Metrics" isn't any better, it reads like we're creating a new API. |
The API metrics concerned here have been stable for a few years. Are there specific criteria we need to meet ? |
Nothing specific -- I don't know why we haven't GA-ed yet, I mean to the point about framing the KEP, and past, similar KEPs. |
Yes, but we shouldn't, because then when you promote it from beta to GA you end up with "Promote Graduate X to Stable |
We don't have to name the PRs that way. But that discussion should probably be taken to sig-architecture. I don't think we should be trying to establish a new pattern by bikeshedding individual KEP issue(s) / PR(s). I haven't seen any prior discussion that we should alter this pattern. |
Hmm; the pattern of "name KEP after the enhancement it provides" is IMO well established and documented, even if we don't always follow the pattern. |
Ah, here's the thing. I think of the audience, for KEPs, being "Kubernetes end users who want to know what the enhancement is", and maybe @BenTheElder you think of the audience being "Kubernetes contributors" or "subset of Kubernetes contributors". I'm thinking of what https://www.kubernetes.dev/resources/keps/ should look like. |
I'm not proposing that we retrofit existing KEPs. For example, https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/95-custom-resource-definitions/kep.yaml doesn't gain metadata about alpha and beta stages. Maybe we could do that as well, but that's not what I'm proposing. Just a change to the title of this provisional KEP. |
Whatever it's going to be called, please use The way it is now is just odd: |