Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

envoy/eds: respond with endpoints for all services #4088

Merged
merged 1 commit into from
Sep 9, 2021

Conversation

shashankram
Copy link
Member

Description:
When generating the EDS response for all upstream
endpoints that the downstream proxy is allowed to
access, create an EDS response for a service without
endpoints as well. This is similar to 78455da which
allowed the XDS state machine to converge when there
are CDS clusters that use EDS for endpoint discovery.

Testing done:
Locally tested the demo.

Affected area:

Functional Area
Control Plane [X]

Please answer the following questions with yes/no.

  1. Does this change contain code from or inspired by another project? no

    • Did you notify the maintainers and provide attribution?
  2. Is this a breaking change? no

When generating the EDS response for all upstream
endpoints that the downstream proxy is allowed to
access, create an EDS response for a service without
endpoints as well. This is similar to 78455da which
allowed the XDS state machine to converge when there
are CDS clusters that use EDS for endpoint discovery.

Signed-off-by: Shashank Ram <[email protected]>
@shashankram shashankram requested a review from a team as a code owner September 9, 2021 16:57
@codecov-commenter
Copy link

Codecov Report

Merging #4088 (828a9b2) into main (78455da) will increase coverage by 0.04%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4088      +/-   ##
==========================================
+ Coverage   69.09%   69.13%   +0.04%     
==========================================
  Files         205      205              
  Lines       11236    11228       -8     
==========================================
  Hits         7763     7763              
+ Misses       3421     3413       -8     
  Partials       52       52              
Flag Coverage Δ
unittests 69.13% <0.00%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/envoy/eds/response.go 56.60% <0.00%> (+7.42%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 78455da...828a9b2. Read the comment docs.

@shashankram shashankram merged commit 9667f91 into openservicemesh:main Sep 9, 2021
@shashankram shashankram deleted the fix-eds branch September 9, 2021 18:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants