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: impl cluster buffer limit #3479

Merged
merged 7 commits into from
May 29, 2024
Merged

Conversation

ShyunnY
Copy link
Contributor

@ShyunnY ShyunnY commented May 26, 2024

What type of PR is this?

type:
feat impl cluster buffer limit

What this PR does / why we need it:

description:
Support per_connection_buffer_limit_bytes configuration on cluster by adding a knob

ref doc: https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/cluster/v3/cluster.proto#config-cluster-v3-cluster

Which issue(s) this PR fixes:

Fixes #3278

@ShyunnY ShyunnY requested a review from a team as a code owner May 26, 2024 06:30
@ShyunnY ShyunnY marked this pull request as draft May 26, 2024 06:30
Copy link

codecov bot commented May 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.39%. Comparing base (3f7767f) to head (f4530dc).
Report is 14 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3479      +/-   ##
==========================================
+ Coverage   67.22%   67.39%   +0.17%     
==========================================
  Files         166      167       +1     
  Lines       19722    19955     +233     
==========================================
+ Hits        13258    13449     +191     
- Misses       5507     5540      +33     
- Partials      957      966       +9     

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

@ShyunnY ShyunnY marked this pull request as ready for review May 27, 2024 07:40
@ShyunnY
Copy link
Contributor Author

ShyunnY commented May 27, 2024

/retest

Copy link
Contributor

@shawnh2 shawnh2 left a comment

Choose a reason for hiding this comment

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

LGTM! Just one nit.

@ShyunnY
Copy link
Contributor Author

ShyunnY commented May 27, 2024

/retest

1 similar comment
@ShyunnY
Copy link
Contributor Author

ShyunnY commented May 27, 2024

/retest

@@ -2024,6 +2030,13 @@ type TLSUpstreamConfig struct {
TLSConfig `json:",inline"`
}

// BackendPolicyConnection settings for upstream connections
// +k8s:deepcopy-gen=true
type BackendPolicyConnection struct {
Copy link
Contributor

Choose a reason for hiding this comment

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

prefer backendConnection

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

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 May 29, 2024 18:27
@arkodg arkodg merged commit 0b3e241 into envoyproxy:main May 29, 2024
23 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.

Add a knob to make per_connection_buffer_limit_bytes of cluster configurable
4 participants