Skip to content

API: Backend - #3063

Merged
guydc merged 40 commits into
envoyproxy:mainfrom
guydc:api-backend
May 15, 2024
Merged

guydc merged 40 commits into
envoyproxy:mainfrom
guydc:api-backend

Conversation

@guydc

@guydc guydc commented Mar 30, 2024

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

This is a preliminary API proposal for discussion purposes only. The new Backend API allows users to reference UDS, FQDN and IP backends with an alternative to the K8s Service resources. See design doc for more details.

Which issue(s) this PR fixes:
Relates to #2997, #36

Signed-off-by: Guy Daich <[email protected]>
@guydc guydc added the area/api API-related issues label Mar 30, 2024
@guydc
guydc requested a review from a team as a code owner March 30, 2024 00:51
@codecov

codecov Bot commented Mar 30, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.14%. Comparing base (c4b0216) to head (5b69c70).
Report is 1 commits behind head on main.

❗ Current head 5b69c70 differs from pull request most recent head 3148915. Consider uploading reports for the commit 3148915 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3063      +/-   ##
==========================================
+ Coverage   66.97%   67.14%   +0.17%     
==========================================
  Files         164      165       +1     
  Lines       23882    23845      -37     
==========================================
+ Hits        15994    16011      +17     
+ Misses       6964     6916      -48     
+ Partials      924      918       -6     

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

Signed-off-by: Guy Daich <[email protected]>
@zirain

zirain commented Mar 31, 2024

Copy link
Copy Markdown
Member

so these's something like ServiceEntry in Istio?

Signed-off-by: Guy Daich <[email protected]>

@Xunzhuo Xunzhuo left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I like this idea, Is this like istio`s ServiceEntry ?

@guydc

guydc commented Apr 1, 2024 •

Copy link
Copy Markdown
Contributor Author

@zirain, @Xunzhuo - There are some differences from ServiceEntry.

  • ServiceEntry doesn't support Unix Domain Sockets
  • You can route from VirtualService to external services by just specifying their address. You don't need a ServiceEntry for that, but a ServiceEntry allows you to configure some setting related to DNS resolution, (m)TLS, etc. In EG, this resource (or Service + FQDN Endpoint) is mandatory for external routing.

@guydc guydc added this to the v1.1.0-rc1 milestone Apr 18, 2024
guydc added 2 commits April 23, 2024 08:54
Signed-off-by: Guy Daich <[email protected]>
Signed-off-by: Guy Daich <[email protected]>
Comment thread api/v1alpha1/backend_types.go Resolved
Comment thread api/v1alpha1/backend_types.go Resolved
Comment thread api/v1alpha1/backend_types.go Resolved
Comment thread api/v1alpha1/backend_types.go Resolved
Comment thread api/v1alpha1/backend_types.go Resolved
Comment thread api/v1alpha1/backend_types.go Resolved
Comment thread api/v1alpha1/backend_types.go Resolved
@guydc

guydc commented May 14, 2024

Copy link
Copy Markdown
Contributor Author

/retest

Comment thread api/v1alpha1/backend_types.go Resolved
Comment thread api/v1alpha1/backend_types.go Resolved
Comment thread api/v1alpha1/backend_types.go Resolved
Comment thread api/v1alpha1/backend_types.go Resolved
Comment thread api/v1alpha1/backend_types.go Resolved
@guydc

guydc commented May 15, 2024

Copy link
Copy Markdown
Contributor Author

/retest

@arkodg arkodg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM thanks ! looking forward to using this API

@arkodg
arkodg requested review from a team, Xunzhuo, shawnh2, zhaohuabing and zirain May 15, 2024 21:28

@zhaohuabing zhaohuabing left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM thanks!

@guydc
guydc merged commit 16f1b43 into envoyproxy:main May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/api API-related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants