-
Notifications
You must be signed in to change notification settings - Fork 39.7k
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
Mark v1beta1 EndpointSlice deprecated in favor of v1 #100472
Mark v1beta1 EndpointSlice deprecated in favor of v1 #100472
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liggitt The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Noticed this wasn't done when the topology deprecation question came up in kubernetes/website#27032 (comment) |
This should be paired with a docs PR adding v1beta1 EndpointSlice to https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-25 and enumerating the field-by-field deltas to v1 EndpointSlices |
Kubeproxy hasn't switched to using the v1 API. I think we need to wait for that before deprecating v1beta1. |
Marking as deprecated doesn't remove the API, it just notifices of removal in a future release. Since we know the 1.25 removal release and there's a replacement clients can switch to in 1.21, giving more advance notice to those clients seems like a good idea to me. |
/sig network |
This PR may require API review. If so, when the changes are ready, complete the pre-review checklist and request an API review. Status of requested reviews is tracked in the API Review project. |
/lgtm |
/retest |
/triage accepted |
/milestone v1.21 needed to ensure consistent surfacing of promoted APIs in 1.21 as replacements for existing beta versions |
The doc changes will be covered in kubernetes/website#27070 |
Any details on if EndpointSlices server APIs will be compatible for the server 1.19 and below? It's unclear how this kind of deprecation will impact folks who are on an older version of the server but want to use the new client. |
I don't fully understand the question, but these are the deprecation policy rules for the APIs https://kubernetes.io/docs/reference/using-api/deprecation-policy/ , maybe that can answer your question |
Sorry if I was unclear. The question was specifically trying to understand if we should expect the latest version of client APIs to be compatible with servers that only provide the beta version of the API. AFAICT, server < v1.21 supports only the beta endpoint slices API. I am trying to figure out if we can use the latest version of the client libraries with the beta server. |
looking over that doc that you shared, it sounds like yes but at some point support the beta server will get dropped from client API. does that sound correct? |
So the answer is no and that is really unfortunate. |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Marks v1beta1 EndpointSlices deprecated in favor of v1.
Leaves removal version at 1.25, so the only change is that users get an extra release of notifications to use v1.
Does this PR introduce a user-facing change?
/cc @swetharepakula @robscott