File tree Expand file tree Collapse file tree 4 files changed +9
-0
lines changed
Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -756,6 +756,7 @@ spec:
756756 - LEAST_CONN
757757 - RANDOM
758758 - PASSTHROUGH
759+ - LEAST_REQUEST
759760 type : string
760761 outlierDetection :
761762 description : Settings controlling eviction of unhealthy hosts from the load balancing pool.
Original file line number Diff line number Diff line change @@ -756,6 +756,7 @@ spec:
756756 - LEAST_CONN
757757 - RANDOM
758758 - PASSTHROUGH
759+ - LEAST_REQUEST
759760 type : string
760761 outlierDetection :
761762 description : Settings controlling eviction of unhealthy hosts from the load balancing pool.
Original file line number Diff line number Diff line change @@ -756,6 +756,7 @@ spec:
756756 - LEAST_CONN
757757 - RANDOM
758758 - PASSTHROUGH
759+ - LEAST_REQUEST
759760 type : string
760761 outlierDetection :
761762 description : Settings controlling eviction of unhealthy hosts from the load balancing pool.
Original file line number Diff line number Diff line change @@ -419,6 +419,12 @@ const (
419419 // advanced use cases. Refer to Original Destination load balancer in
420420 // Envoy for further details.
421421 SimpleLBPassthrough SimpleLB = "PASSTHROUGH"
422+
423+ // The least request load balancer spreads load across endpoints,
424+ // favoring endpoints with the least outstanding requests. This is generally
425+ // safer and outperforms ROUND_ROBIN in nearly all cases. Prefer to use LEAST_REQUEST
426+ // as a drop-in replacement for ROUND_ROBIN.
427+ SimpleLBLeastRequest SimpleLB = "LEAST_REQUEST"
422428)
423429
424430// Consistent Hash-based load balancing can be used to provide soft
You can’t perform that action at this time.
0 commit comments