Skip to content
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

Migrate from Endpoints to EndpointSlice #3916

Closed
3 tasks done
mflendrich opened this issue Apr 19, 2023 · 0 comments · Fixed by #3997
Closed
3 tasks done

Migrate from Endpoints to EndpointSlice #3916

mflendrich opened this issue Apr 19, 2023 · 0 comments · Fixed by #3997
Assignees
Milestone

Comments

@mflendrich
Copy link
Contributor

mflendrich commented Apr 19, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Problem Statement

KIC 2.x (at the moment of writing - 2.9) uses two different APIs for the same purpose:

  • EndpointSlice for gateway discovery
  • Endpoint for target generation

Proposed Solution

Drop Endpoint listeners in favor of discovery.k8s.io/v1 EndpointSlice.

Additional information

KIC 2.9's minimum supported k8s version is 1.22. 1.22 already includes EndpointSlice at v1, so this change should not be introducing new Kubernetes version breakage.

Acceptance Criteria

  • getServiceEndpoints no longer relies on the Endpoint API (and uses EndpointSlice instead)
  • KIC's usage of Endpoint Kubernetes resources is eradicated
@mheap mheap added this to the KIC v2.10.0 milestone May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants