Skip to content

Commit

Permalink
Add extra fields to CDS cluster proto to check memory usage
Browse files Browse the repository at this point in the history
Signed-off-by: Gastón Kleiman <[email protected]>
  • Loading branch information
gkleiman committed Jul 8, 2020
1 parent 1010883 commit a6a285d
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
10 changes: 10 additions & 0 deletions api/envoy/config/cluster/v3/cluster.proto
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ message Cluster {
}

// Specific configuration for the LeastRequest load balancing policy.
// [#next-free-field: 7]
message LeastRequestLbConfig {
option (udpa.annotations.versioning).previous_message_type =
"envoy.api.v2.Cluster.LeastRequestLbConfig";
Expand Down Expand Up @@ -359,6 +360,15 @@ message Cluster {
// .. note::
// This setting only takes effect if all host weights are not equal.
core.v3.RuntimeDouble active_request_bias = 2;

// Add new fields to see whether the per-cluster memory footprint increases
core.v3.RuntimeDouble foo = 3;

bool foo1 = 4;

double foo2 = 5;

double foo3 = 6;
}

// Specific configuration for the :ref:`RingHash<arch_overview_load_balancing_types_ring_hash>`
Expand Down
10 changes: 10 additions & 0 deletions api/envoy/config/cluster/v4alpha/cluster.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions generated_api_shadow/envoy/config/cluster/v3/cluster.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions generated_api_shadow/envoy/config/cluster/v4alpha/cluster.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a6a285d

Please sign in to comment.