Merge pull request #1439 from Codasquieves/main

Add support for istio LEAST_REQUEST destination rule load balancing
This commit is contained in:
Sanskar Jaiswal
2023-07-07 20:45:23 +05:30
committed by GitHub
4 changed files with 9 additions and 0 deletions
+1
View File
@@ -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.
+1
View File
@@ -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.
+1
View File
@@ -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