Skip to content

Commit 55422dd

Browse files
proto: Adds slow start config to wrr proto message (#40090)
<!-- !!!ATTENTION!!! If you are fixing *any* crash or *any* potential security issue, *do not* open a pull request in this repo. Please report the issue via emailing [email protected] where the issue will be triaged appropriately. Thank you in advance for helping to keep Envoy secure. !!!ATTENTION!!! For an explanation of how to fill out the fields, please see the relevant section in [PULL_REQUESTS.md](https://github.com/envoyproxy/envoy/blob/main/PULL_REQUESTS.md) --> Commit Message: Adds support for slow_start config to client side wrr lb policy Additional Description: Adds support in proto for slow start config for support in client side wrr for GRPC Risk Level: Low Testing: N/A Docs Changes: N/A Release Notes: N/A Platform Specific Features: N/A --------- Signed-off-by: anurag.ag <[email protected]>
1 parent 9134b22 commit 55422dd

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

api/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/BUILD

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,8 @@ load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package")
55
licenses(["notice"]) # Apache 2
66

77
api_proto_package(
8-
deps = ["@com_github_cncf_xds//udpa/annotations:pkg"],
8+
deps = [
9+
"//envoy/extensions/load_balancing_policies/common/v3:pkg",
10+
"@com_github_cncf_xds//udpa/annotations:pkg",
11+
],
912
)

api/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.proto

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ syntax = "proto3";
22

33
package envoy.extensions.load_balancing_policies.client_side_weighted_round_robin.v3;
44

5+
import "envoy/extensions/load_balancing_policies/common/v3/common.proto";
6+
57
import "google/protobuf/duration.proto";
68
import "google/protobuf/wrappers.proto";
79

@@ -42,7 +44,7 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE;
4244
// See the :ref:`load balancing architecture
4345
// overview<arch_overview_load_balancing_types>` for more information.
4446
//
45-
// [#next-free-field: 8]
47+
// [#next-free-field: 9]
4648
message ClientSideWeightedRoundRobin {
4749
// Whether to enable out-of-band utilization reporting collection from
4850
// the endpoints. By default, per-request utilization reporting is used.
@@ -82,4 +84,9 @@ message ClientSideWeightedRoundRobin {
8284
// For map fields in the ORCA proto, the string will be of the form ``<map_field_name>.<map_key>``. For example, the string ``named_metrics.foo`` will mean to look for the key ``foo`` in the ORCA :ref:`named_metrics <envoy_v3_api_field_.xds.data.orca.v3.OrcaLoadReport.named_metrics>` field.
8385
// If none of the specified metrics are present in the load report, then :ref:`cpu_utilization <envoy_v3_api_field_.xds.data.orca.v3.OrcaLoadReport.cpu_utilization>` is used instead.
8486
repeated string metric_names_for_computing_utilization = 7;
87+
88+
// Configuration for slow start mode.
89+
// If this configuration is not set, slow start will not be not enabled.
90+
// [#not-implemented-hide:]
91+
common.v3.SlowStartConfig slow_start_config = 8;
8592
}

0 commit comments

Comments
 (0)