Skip to content

Support ServiceImport AppProtocol parsing #5687

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

Merged
merged 6 commits into from
Apr 10, 2025

Conversation

nareddyt
Copy link
Contributor

@nareddyt nareddyt commented Apr 7, 2025

Problem

ServiceImport appProtocol is currently not honored.

Solution

This PR add support for the user to specify appProtocol = kubernetes.io/h2c to configure xDS in H2 mode.

As discussed in #5485 (comment), we will not support the legacy grpc value. Only kubernetes.io/h2c is supported for ServiceImport.

No changes are made to pre-existing behavior for Service appProtocol parsing.

Additional Info

Fixes #5485

Release Notes: Yes

nareddyt added 4 commits April 7, 2025 21:18
Signed-off-by: Teju Nareddy <[email protected]>
Signed-off-by: Teju Nareddy <[email protected]>
Signed-off-by: Teju Nareddy <[email protected]>
Signed-off-by: Teju Nareddy <[email protected]>
@nareddyt nareddyt requested a review from a team as a code owner April 7, 2025 21:38
Copy link

codecov bot commented Apr 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.31%. Comparing base (521b78b) to head (2ac86bb).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5687      +/-   ##
==========================================
+ Coverage   65.27%   65.31%   +0.04%     
==========================================
  Files         213      213              
  Lines       34108    34111       +3     
==========================================
+ Hits        22263    22281      +18     
+ Misses      10503    10492      -11     
+ Partials     1342     1338       -4     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nareddyt
Copy link
Contributor Author

nareddyt commented Apr 7, 2025

cc @muwaqar

Signed-off-by: Teju Nareddy <[email protected]>
@nareddyt
Copy link
Contributor Author

nareddyt commented Apr 7, 2025

/retest

@nareddyt
Copy link
Contributor Author

nareddyt commented Apr 7, 2025

retest

Signed-off-by: Teju Nareddy <[email protected]>
Copy link
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 !

@arkodg arkodg requested review from a team April 9, 2025 16:56
@zirain zirain merged commit 6abe036 into envoyproxy:main Apr 10, 2025
25 checks passed
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.

Support ServiceImport AppProtocol parsing, similar to Service parsing
3 participants