Skip to content

Commit

Permalink
fix: outlier detection disabled by default
Browse files Browse the repository at this point in the history
Passive health check need to explicitly enabled by a BackendTrafficPolicy 


Signed-off-by: Lars Sjöström <[email protected]>


Signed-off-by: Lars Sjöström <[email protected]>


Signed-off-by: Lars Sjöström <[email protected]>
  • Loading branch information
lsjostro committed Dec 6, 2024
1 parent b9f9a9f commit 5ebc7aa
Show file tree
Hide file tree
Showing 139 changed files with 2 additions and 309 deletions.
1 change: 0 additions & 1 deletion internal/xds/translator/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ func buildXdsCluster(args *xdsClusterArgs) *clusterv3.Cluster {
LocalityWeightedLbConfig: &clusterv3.Cluster_CommonLbConfig_LocalityWeightedLbConfig{},
},
},
OutlierDetection: &clusterv3.OutlierDetection{},
PerConnectionBufferLimitBytes: buildBackandConnectionBufferLimitBytes(args.backendConnection),
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: http-route-dest
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
- circuitBreakers:
Expand All @@ -31,7 +30,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: tcp-route-dest
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
- circuitBreakers:
Expand All @@ -49,7 +47,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: udp-route-dest
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
- loadAssignment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: first-route-dest
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
- loadAssignment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: first-route-dest
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
- loadAssignment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: direct-route-dest
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
- circuitBreakers:
Expand All @@ -39,7 +38,6 @@
locality:
region: accesslog-0/backend/0
name: accesslog-0
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
respectDnsTtl: true
type: STRICT_DNS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: direct-route-dest
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
trackClusterStats:
perEndpointStats: true
Expand Down Expand Up @@ -41,7 +40,6 @@
locality:
region: accesslog-0/backend/0
name: accesslog-0
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
respectDnsTtl: true
trackClusterStats:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: direct-route-dest
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
- circuitBreakers:
Expand All @@ -39,7 +38,6 @@
locality:
region: accesslog-0/backend/0
name: accesslog-0
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
respectDnsTtl: true
type: STRICT_DNS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: direct-route-dest
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
- circuitBreakers:
Expand All @@ -39,7 +38,6 @@
locality:
region: accesslog-0/backend/0
name: accesslog-0
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
respectDnsTtl: true
type: STRICT_DNS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: direct-route-dest
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
- circuitBreakers:
Expand All @@ -31,7 +30,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: accesslog_als_0_1
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
typedExtensionProtocolOptions:
Expand All @@ -56,7 +54,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: accesslog_als_0_2
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
typedExtensionProtocolOptions:
Expand All @@ -81,7 +78,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: accesslog_als_1_1
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
typedExtensionProtocolOptions:
Expand All @@ -106,7 +102,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: accesslog_als_1_2
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
typedExtensionProtocolOptions:
Expand All @@ -131,7 +126,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: accesslog_als_2_1
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
typedExtensionProtocolOptions:
Expand All @@ -156,7 +150,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: accesslog_als_2_2
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
typedExtensionProtocolOptions:
Expand Down Expand Up @@ -189,7 +182,6 @@
locality:
region: accesslog_otel_0_3/backend/0
name: accesslog_otel_0_3
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
respectDnsTtl: true
type: STRICT_DNS
Expand Down Expand Up @@ -223,7 +215,6 @@
locality:
region: accesslog_otel_1_3/backend/0
name: accesslog_otel_1_3
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
respectDnsTtl: true
type: STRICT_DNS
Expand Down Expand Up @@ -257,7 +248,6 @@
locality:
region: accesslog_otel_2_3/backend/0
name: accesslog_otel_2_3
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
respectDnsTtl: true
type: STRICT_DNS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: direct-route-dest
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
- circuitBreakers:
Expand All @@ -31,7 +30,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: accesslog/monitoring/envoy-als/port/9000
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
typedExtensionProtocolOptions:
Expand Down Expand Up @@ -64,7 +62,6 @@
locality:
region: accesslog-0/backend/0
name: accesslog-0
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
respectDnsTtl: true
type: STRICT_DNS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: direct-route-dest
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
- circuitBreakers:
Expand All @@ -31,7 +30,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: accesslog/monitoring/envoy-als/port/9000
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
typedExtensionProtocolOptions:
Expand Down Expand Up @@ -64,7 +62,6 @@
locality:
region: accesslog-0/backend/0
name: accesslog-0
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
respectDnsTtl: true
type: STRICT_DNS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: httproute/default/httproute-3/rule/0
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
- circuitBreakers:
Expand All @@ -31,7 +30,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: httproute/default/httproute-1/rule/0
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
- circuitBreakers:
Expand All @@ -49,6 +47,5 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: httproute/default/httproute-2/rule/0
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: httproute/default/httproute-1/rule/0
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
- circuitBreakers:
Expand All @@ -31,7 +30,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: httproute/default/httproute-2/rule/0
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
- circuitBreakers:
Expand All @@ -57,7 +55,6 @@
locality:
region: two_example_com_443/backend/0
name: two_example_com_443
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
respectDnsTtl: true
transportSocket:
Expand Down Expand Up @@ -93,7 +90,6 @@
locality:
region: one_example_com_443/backend/0
name: one_example_com_443
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
respectDnsTtl: true
transportSocket:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: httproute/default/httproute-1/rule/0
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
- circuitBreakers:
Expand All @@ -31,7 +30,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: httproute/default/httproute-2/rule/0
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
- circuitBreakers:
Expand All @@ -57,7 +55,6 @@
locality:
region: two_example_com_443/backend/0
name: two_example_com_443
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
respectDnsTtl: true
transportSocket:
Expand Down Expand Up @@ -93,7 +90,6 @@
locality:
region: one_example_com_443/backend/0
name: one_example_com_443
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
respectDnsTtl: true
transportSocket:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: httproute/default/httproute-1/rule/0
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
serviceName: httproute/default/httproute-3/rule/0
lbPolicy: LEAST_REQUEST
name: httproute/default/httproute-3/rule/0
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
- circuitBreakers:
Expand All @@ -29,7 +28,6 @@
serviceName: httproute/default/httproute-1/rule/0
lbPolicy: LEAST_REQUEST
name: httproute/default/httproute-1/rule/0
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
- circuitBreakers:
Expand All @@ -46,6 +44,5 @@
serviceName: httproute/default/httproute-2/rule/0
lbPolicy: LEAST_REQUEST
name: httproute/default/httproute-2/rule/0
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: first-route-dest
outlierDetection: {}
perConnectionBufferLimitBytes: 100000000
type: EDS
- circuitBreakers:
Expand All @@ -31,7 +30,6 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: tcp-route-dest
outlierDetection: {}
perConnectionBufferLimitBytes: 100000000
type: EDS
- circuitBreakers:
Expand All @@ -49,6 +47,5 @@
ignoreHealthOnHostRemoval: true
lbPolicy: LEAST_REQUEST
name: udp-route-dest
outlierDetection: {}
perConnectionBufferLimitBytes: 32768
type: EDS
Loading

0 comments on commit 5ebc7aa

Please sign in to comment.