Skip to content

feat: support FQDN address type for EndpointSlice#2138

Merged
zirain merged 10 commits intoenvoyproxy:mainfrom
shawnh2:endpointslice-addr-fqdn
Dec 6, 2023
Merged

feat: support FQDN address type for EndpointSlice#2138
zirain merged 10 commits intoenvoyproxy:mainfrom
shawnh2:endpointslice-addr-fqdn

Conversation

@shawnh2
Copy link
Copy Markdown
Contributor

@shawnh2 shawnh2 commented Oct 31, 2023

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #1922

Signed-off-by: sh2 <shawnhxh@outlook.com>
Copy link
Copy Markdown

@EltonzHu EltonzHu left a comment

Choose a reason for hiding this comment

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

Generally, code looks good to me.
Just two minor comments:

  1. Minor name change comment
  2. From this implementation, IP and FQDN weight based balancing is achieved. Do we still want to go with this simple approach here?

@shawnh2
Copy link
Copy Markdown
Contributor Author

shawnh2 commented Nov 14, 2023

Generally, code looks good to me. Just two minor comments:

  1. Minor name change comment
  2. From this implementation, IP and FQDN weight based balancing is achieved. Do we still want to go with this simple approach here?

hi @EltonzHu , thanks for reviewing this. I haven't test this implementation yet, so it may not be right. If this implementation won't work, i will stick to the simple approach.

@EltonzHu
Copy link
Copy Markdown

Generally, code looks good to me. Just two minor comments:

  1. Minor name change comment
  2. From this implementation, IP and FQDN weight based balancing is achieved. Do we still want to go with this simple approach here?

hi @EltonzHu , thanks for reviewing this. I haven't test this implementation yet, so it may not be right. If this implementation won't work, i will stick to the simple approach.

Sounds good. FYI, please be aware of this issue opened and proposed solution with explicit locality setting on LB weights.

@shawnh2 shawnh2 marked this pull request as ready for review November 19, 2023 12:51
@shawnh2 shawnh2 requested a review from a team as a code owner November 19, 2023 12:51
Signed-off-by: sh2 <shawnhxh@outlook.com>
Signed-off-by: sh2 <shawnhxh@outlook.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Nov 19, 2023

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (532709c) 64.26% compared to head (1d01804) 64.41%.
Report is 1 commits behind head on main.

Files Patch % Lines
internal/ir/zz_generated.deepcopy.go 0.00% 4 Missing and 1 partial ⚠️
internal/ir/xds.go 83.33% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2138      +/-   ##
==========================================
+ Coverage   64.26%   64.41%   +0.15%     
==========================================
  Files         112      112              
  Lines       15728    15796      +68     
==========================================
+ Hits        10107    10175      +68     
  Misses       4980     4980              
  Partials      641      641              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: sh2 <shawnhxh@outlook.com>
@arkodg
Copy link
Copy Markdown
Contributor

arkodg commented Nov 28, 2023

make gen-check is failing, you can run make testdata to rewrite test files

Signed-off-by: sh2 <shawnhxh@outlook.com>
@arkodg
Copy link
Copy Markdown
Contributor

arkodg commented Nov 28, 2023

few nits, else looks good, thanks !
cc @zirain

arkodg
arkodg previously approved these changes Nov 29, 2023
Copy link
Copy Markdown
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

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

LGTM thanks !

Signed-off-by: sh2 <shawnhxh@outlook.com>
@shawnh2
Copy link
Copy Markdown
Contributor Author

shawnh2 commented Nov 29, 2023

/retest

1 similar comment
@shawnh2
Copy link
Copy Markdown
Contributor Author

shawnh2 commented Nov 29, 2023

/retest

@Xunzhuo Xunzhuo added this to the v1.0.0-rc1 milestone Dec 6, 2023
Copy link
Copy Markdown
Member

@Xunzhuo Xunzhuo left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks

@Xunzhuo Xunzhuo requested a review from a team December 6, 2023 06:31
@Xunzhuo Xunzhuo requested review from kflynn, tanujd11 and tmsnan and removed request for a team December 6, 2023 06:31
@zirain zirain merged commit a89d95e into envoyproxy:main Dec 6, 2023
@shawnh2 shawnh2 deleted the endpointslice-addr-fqdn branch December 6, 2023 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

Support FQDN Address Type in EndpointSlice

5 participants