load_balancer.proto

Package: gloo.solo.io

Types:

Source File: github.com/solo-io/gloo/projects/gloo/api/v1/load_balancer.proto

LoadBalancerConfig

LoadBalancerConfig is the settings for the load balancer used to send request to the Upstream endpoints.

"healthyPanicThreshold": .google.protobuf.DoubleValue
"updateMergeWindow": .google.protobuf.Duration
"roundRobin": .gloo.solo.io.LoadBalancerConfig.RoundRobin
"leastRequest": .gloo.solo.io.LoadBalancerConfig.LeastRequest
"random": .gloo.solo.io.LoadBalancerConfig.Random
Field Type Description Default
healthyPanicThreshold .google.protobuf.DoubleValue Configures envoy’s panic threshold Percent between 0-100. Once the number of non health hosts reaches this percentage, envoy disregards health information. see more info here.
updateMergeWindow .google.protobuf.Duration This allows batch updates of endpoints health/weight/metadata that happen during a time window. this help lower cpu usage when endpoint change rate is high. defaults to 1 second. Set to 0 to disable and have changes applied immediately.
roundRobin .gloo.solo.io.LoadBalancerConfig.RoundRobin Use round robin for load balancing.
leastRequest .gloo.solo.io.LoadBalancerConfig.LeastRequest Use least request for load balancing.
random .gloo.solo.io.LoadBalancerConfig.Random Use random for load balancing.

RoundRobin

Field Type Description Default

LeastRequest

"choiceCount": int
Field Type Description Default
choiceCount int How many choices to take into account. defaults to 2.

Random

Field Type Description Default