mirror of
https://github.com/fluxcd/flagger.git
synced 2026-02-14 18:10:00 +00:00
Add support for istio LEAST_REQUEST destination rule load balancing algorithm
Signed-off-by: Ivan Lopes <ivanckp@gmail.com>
This commit is contained in:
@@ -756,6 +756,7 @@ spec:
|
||||
- LEAST_CONN
|
||||
- RANDOM
|
||||
- PASSTHROUGH
|
||||
- LEAST_REQUEST
|
||||
type: string
|
||||
outlierDetection:
|
||||
description: Settings controlling eviction of unhealthy hosts from the load balancing pool.
|
||||
|
||||
@@ -756,6 +756,7 @@ spec:
|
||||
- LEAST_CONN
|
||||
- RANDOM
|
||||
- PASSTHROUGH
|
||||
- LEAST_REQUEST
|
||||
type: string
|
||||
outlierDetection:
|
||||
description: Settings controlling eviction of unhealthy hosts from the load balancing pool.
|
||||
|
||||
@@ -756,6 +756,7 @@ spec:
|
||||
- LEAST_CONN
|
||||
- RANDOM
|
||||
- PASSTHROUGH
|
||||
- LEAST_REQUEST
|
||||
type: string
|
||||
outlierDetection:
|
||||
description: Settings controlling eviction of unhealthy hosts from the load balancing pool.
|
||||
|
||||
@@ -419,6 +419,12 @@ const (
|
||||
// advanced use cases. Refer to Original Destination load balancer in
|
||||
// Envoy for further details.
|
||||
SimpleLBPassthrough SimpleLB = "PASSTHROUGH"
|
||||
|
||||
// The least request load balancer spreads load across endpoints,
|
||||
// favoring endpoints with the least outstanding requests. This is generally
|
||||
// safer and outperforms ROUND_ROBIN in nearly all cases. Prefer to use LEAST_REQUEST
|
||||
// as a drop-in replacement for ROUND_ROBIN.
|
||||
SimpleLBLeastRequest SimpleLB = "LEAST_REQUEST"
|
||||
)
|
||||
|
||||
// Consistent Hash-based load balancing can be used to provide soft
|
||||
|
||||
Reference in New Issue
Block a user