api: clarify ranges of LB config parameters (#27192)

* api: clarify ranges of LB config parameters

Signed-off-by: Yousuk Seung <ysseung@google.com>

Mirrored from https://github.com/envoyproxy/envoy @ d93958dbef1c2b11587bea6f3eb561bd630b212d
pull/626/head
data-plane-api(Azure Pipelines) 2 years ago
parent 3cd025cad1
commit 9e2cb423b6
  1. 9
      envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.proto

@ -6,6 +6,7 @@ import "google/protobuf/duration.proto";
import "google/protobuf/wrappers.proto";
import "udpa/annotations/status.proto";
import "validate/validate.proto";
option java_package = "io.envoyproxy.envoy.extensions.load_balancing_policies.client_side_weighted_round_robin.v3";
option java_outer_classname = "ClientSideWeightedRoundRobinProto";
@ -58,10 +59,12 @@ message ClientSideWeightedRoundRobin {
// blackout_period applies. Defaults to 3 minutes.
google.protobuf.Duration weight_expiration_period = 4;
// How often endpoint weights are recalculated. Default is 1 second.
// How often endpoint weights are recalculated. Values less than 100ms are
// capped at 100ms. Default is 1 second.
google.protobuf.Duration weight_update_period = 5;
// The multiplier used to adjust endpoint weights with the error rate
// calculated as eps/qps. Default is 1.0.
google.protobuf.FloatValue error_utilization_penalty = 6;
// calculated as eps/qps. Configuration is rejected if this value is negative.
// Default is 1.0.
google.protobuf.FloatValue error_utilization_penalty = 6 [(validate.rules).float = {gte: 0.0}];
}

Loading…
Cancel
Save