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

service topologies: add Kubernetes/API EndpointSlice support #4696

Merged
merged 2 commits into from
Jul 6, 2020
Merged

service topologies: add Kubernetes/API EndpointSlice support #4696

merged 2 commits into from
Jul 6, 2020

Conversation

mateiidavid
Copy link
Member

Based on the EndpointSlice PR, this is just the k8s/api support for endpointslices to shorten the first PR.

  • Adds CRD
  • Adds functions that check whether the cluster has EndpointSlice access
  • Adds discovery & endpointslice informers to api.

Signed-off-by: Matei David [email protected]

Add test data for endpointslice crd

Signed-off-by: Matei David <[email protected]>
@mateiidavid mateiidavid requested a review from a team as a code owner July 1, 2020 19:49
@mateiidavid
Copy link
Member Author

Update: based on the discussion with @adleong in PR#4663 I've changed the return type as well as commented out the two functions responsible for checking whether EndpointSlices can be used.

The main assumption we are making is that EndpointSlices should be opt-in for now, as a result, until a mechanism to enable them on a user-by-user basis is put in, the idea is to only use Endpoints (but have the support for the slices in).

Copy link
Member

@adleong adleong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent! This looks good to go

Copy link
Member

@alpeb alpeb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@adleong adleong merged commit a2bd230 into linkerd:main Jul 6, 2020
adleong pushed a commit that referenced this pull request Jul 20, 2020
* Small PR that uncomments the `EndpointSliceAcess` method and cleans up left over todos in the destination service.
* Based on the past three PRs related to `EndpointSlices` (#4663 #4696 #4740); they should now be functional (albeit prone to bugs) and ready to use.

Signed-off-by: Matei David <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants