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

xDS Mesh Gateway Resolver Subset Fixes #7294

Merged
merged 2 commits into from Feb 19, 2020
Merged

xDS Mesh Gateway Resolver Subset Fixes #7294

merged 2 commits into from Feb 19, 2020

Conversation

mkeeler
Copy link
Member

@mkeeler mkeeler commented Feb 13, 2020

The first fix was that clusters were being generated for every service resolver subset regardless of there being any service instances of the associated service in that dc. The previous logic didn’t care at all but now it will omit generating those clusters unless we also have service instances that should be proxied.

The second fix was to respect the DefaultSubset of a service resolver so that mesh-gateways would configure the endpoints of the unnamed subset cluster to only those endpoints matched by the default subsets filters.

The first fix was that clusters were being generated for every service resolver subset regardless of there being any service instances of the associated service in that dc. The previous logic didn’t care at all but now it will omit generating those clusters unless we also have service instances that should be proxied.

The second fix was to respect the DefaultSubset of a service resolver so that mesh-gateways would configure the endpoints of the unnamed subset cluster to only those endpoints matched by the default subsets filters.
@mkeeler mkeeler added this to the 1.7.1 milestone Feb 13, 2020
@mkeeler mkeeler requested a review from a team February 13, 2020 19:20
Copy link
Contributor

@crhino crhino left a comment

Choose a reason for hiding this comment

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

LGTM! 1 small nitpick and a few random thoughts along the way, but overall good stuff. 👍

agent/xds/endpoints.go Show resolved Hide resolved
agent/xds/endpoints.go Show resolved Hide resolved
@mkeeler mkeeler merged commit 4c95776 into master Feb 19, 2020
@mkeeler mkeeler deleted the mesh-gateway-watches branch February 19, 2020 16:57
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.

None yet

2 participants