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

feat(extension-manager): make grpc message size configurable #5077

Merged
merged 4 commits into from
Jan 22, 2025

Conversation

guydc
Copy link
Contributor

@guydc guydc commented Jan 16, 2025

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #5075

Release Notes: Yes

@guydc guydc requested a review from a team as a code owner January 16, 2025 00:44
Copy link

codecov bot commented Jan 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.98%. Comparing base (c9f796d) to head (d7b73d5).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5077      +/-   ##
==========================================
+ Coverage   66.87%   66.98%   +0.10%     
==========================================
  Files         210      210              
  Lines       32951    32961      +10     
==========================================
+ Hits        22037    22079      +42     
+ Misses       9584     9554      -30     
+ Partials     1330     1328       -2     

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

zirain
zirain previously approved these changes Jan 16, 2025
// +kubebuilder:validation:Minimum=1
//
// +optional
MaxMessageSizeBytes *int `json:"grpcMaxMessageSize,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

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

the json tag is different from the field name

also, can you check if we use the bytes suffix in other places of the API (e.g. buffer limit) or is it implied and part of the doc string ? would be good to keep it consistent

// +kubebuilder:validation:Minimum=1
//
// +optional
MaxMessageSize *int `json:"maxMessageSize,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

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

should we use resource.Quantity here similar to

BufferLimit *resource.Quantity `json:"bufferLimit,omitempty"`
?

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 January 21, 2025 21:14
guydc added 4 commits January 22, 2025 07:46
Signed-off-by: Guy Daich <guy.daich@sap.com>
Signed-off-by: Guy Daich <guy.daich@sap.com>
Signed-off-by: Guy Daich <guy.daich@sap.com>
Signed-off-by: Guy Daich <guy.daich@sap.com>
@zirain zirain force-pushed the feat-extmanager-grpc-msg-size branch from c07b4a5 to d7b73d5 Compare January 21, 2025 23:46
@arkodg arkodg added this to the v1.3.0-rc.1 milestone Jan 21, 2025
@arkodg arkodg merged commit c4aed49 into envoyproxy:main Jan 22, 2025
26 of 27 checks passed
EshaanAgg pushed a commit to EshaanAgg/gateway that referenced this pull request Jan 22, 2025
…oxy#5077)

* feat(extension-manager): make grpc message size configurable

Signed-off-by: Guy Daich <guy.daich@sap.com>
Signed-off-by: EshaanAgg <96648934+EshaanAgg@users.noreply.github.com>
DeeBi9 pushed a commit to DeeBi9/gateway that referenced this pull request Jan 25, 2025
…oxy#5077)

* feat(extension-manager): make grpc message size configurable

Signed-off-by: Guy Daich <guy.daich@sap.com>
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 configuration of gRPC MaxMsgSize in Extension Manager
3 participants