public static interface DestinationRuleOuterClass.OutlierDetectionOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
com.google.protobuf.Duration |
getBaseEjectionTime()
Minimum ejection duration.
|
com.google.protobuf.DurationOrBuilder |
getBaseEjectionTimeOrBuilder()
Minimum ejection duration.
|
com.google.protobuf.UInt32Value |
getConsecutive5XxErrors()
Number of 5xx errors before a host is ejected from the connection pool.
|
com.google.protobuf.UInt32ValueOrBuilder |
getConsecutive5XxErrorsOrBuilder()
Number of 5xx errors before a host is ejected from the connection pool.
|
int |
getConsecutiveErrors()
已过时。
istio.networking.v1alpha3.OutlierDetection.consecutive_errors is deprecated.
See networking/v1alpha3/destination_rule.proto;l=724
|
com.google.protobuf.UInt32Value |
getConsecutiveGatewayErrors()
Number of gateway errors before a host is ejected from the connection pool.
|
com.google.protobuf.UInt32ValueOrBuilder |
getConsecutiveGatewayErrorsOrBuilder()
Number of gateway errors before a host is ejected from the connection pool.
|
com.google.protobuf.Duration |
getInterval()
Time interval between ejection sweep analysis. format:
1h/1m/1s/1ms.
|
com.google.protobuf.DurationOrBuilder |
getIntervalOrBuilder()
Time interval between ejection sweep analysis. format:
1h/1m/1s/1ms.
|
int |
getMaxEjectionPercent()
Maximum % of hosts in the load balancing pool for the upstream
service that can be ejected.
|
int |
getMinHealthPercent()
Outlier detection will be enabled as long as the associated load balancing
pool has at least min_health_percent hosts in healthy mode.
|
boolean |
hasBaseEjectionTime()
Minimum ejection duration.
|
boolean |
hasConsecutive5XxErrors()
Number of 5xx errors before a host is ejected from the connection pool.
|
boolean |
hasConsecutiveGatewayErrors()
Number of gateway errors before a host is ejected from the connection pool.
|
boolean |
hasInterval()
Time interval between ejection sweep analysis. format:
1h/1m/1s/1ms.
|
@Deprecated int getConsecutiveErrors()
Number of errors before a host is ejected from the connection pool. Defaults to 5. When the upstream host is accessed over HTTP, a 502, 503, or 504 return code qualifies as an error. When the upstream host is accessed over an opaque TCP connection, connect timeouts and connection error/failure events qualify as an error. $hide_from_docs
int32 consecutive_errors = 1 [deprecated = true];boolean hasConsecutiveGatewayErrors()
Number of gateway errors before a host is ejected from the connection pool. When the upstream host is accessed over HTTP, a 502, 503, or 504 return code qualifies as a gateway error. When the upstream host is accessed over an opaque TCP connection, connect timeouts and connection error/failure events qualify as a gateway error. This feature is disabled by default or when set to the value 0. Note that consecutive_gateway_errors and consecutive_5xx_errors can be used separately or together. Because the errors counted by consecutive_gateway_errors are also included in consecutive_5xx_errors, if the value of consecutive_gateway_errors is greater than or equal to the value of consecutive_5xx_errors, consecutive_gateway_errors will have no effect.
.google.protobuf.UInt32Value consecutive_gateway_errors = 6;com.google.protobuf.UInt32Value getConsecutiveGatewayErrors()
Number of gateway errors before a host is ejected from the connection pool. When the upstream host is accessed over HTTP, a 502, 503, or 504 return code qualifies as a gateway error. When the upstream host is accessed over an opaque TCP connection, connect timeouts and connection error/failure events qualify as a gateway error. This feature is disabled by default or when set to the value 0. Note that consecutive_gateway_errors and consecutive_5xx_errors can be used separately or together. Because the errors counted by consecutive_gateway_errors are also included in consecutive_5xx_errors, if the value of consecutive_gateway_errors is greater than or equal to the value of consecutive_5xx_errors, consecutive_gateway_errors will have no effect.
.google.protobuf.UInt32Value consecutive_gateway_errors = 6;com.google.protobuf.UInt32ValueOrBuilder getConsecutiveGatewayErrorsOrBuilder()
Number of gateway errors before a host is ejected from the connection pool. When the upstream host is accessed over HTTP, a 502, 503, or 504 return code qualifies as a gateway error. When the upstream host is accessed over an opaque TCP connection, connect timeouts and connection error/failure events qualify as a gateway error. This feature is disabled by default or when set to the value 0. Note that consecutive_gateway_errors and consecutive_5xx_errors can be used separately or together. Because the errors counted by consecutive_gateway_errors are also included in consecutive_5xx_errors, if the value of consecutive_gateway_errors is greater than or equal to the value of consecutive_5xx_errors, consecutive_gateway_errors will have no effect.
.google.protobuf.UInt32Value consecutive_gateway_errors = 6;boolean hasConsecutive5XxErrors()
Number of 5xx errors before a host is ejected from the connection pool. When the upstream host is accessed over an opaque TCP connection, connect timeouts, connection error/failure and request failure events qualify as a 5xx error. This feature defaults to 5 but can be disabled by setting the value to 0. Note that consecutive_gateway_errors and consecutive_5xx_errors can be used separately or together. Because the errors counted by consecutive_gateway_errors are also included in consecutive_5xx_errors, if the value of consecutive_gateway_errors is greater than or equal to the value of consecutive_5xx_errors, consecutive_gateway_errors will have no effect.
.google.protobuf.UInt32Value consecutive_5xx_errors = 7;com.google.protobuf.UInt32Value getConsecutive5XxErrors()
Number of 5xx errors before a host is ejected from the connection pool. When the upstream host is accessed over an opaque TCP connection, connect timeouts, connection error/failure and request failure events qualify as a 5xx error. This feature defaults to 5 but can be disabled by setting the value to 0. Note that consecutive_gateway_errors and consecutive_5xx_errors can be used separately or together. Because the errors counted by consecutive_gateway_errors are also included in consecutive_5xx_errors, if the value of consecutive_gateway_errors is greater than or equal to the value of consecutive_5xx_errors, consecutive_gateway_errors will have no effect.
.google.protobuf.UInt32Value consecutive_5xx_errors = 7;com.google.protobuf.UInt32ValueOrBuilder getConsecutive5XxErrorsOrBuilder()
Number of 5xx errors before a host is ejected from the connection pool. When the upstream host is accessed over an opaque TCP connection, connect timeouts, connection error/failure and request failure events qualify as a 5xx error. This feature defaults to 5 but can be disabled by setting the value to 0. Note that consecutive_gateway_errors and consecutive_5xx_errors can be used separately or together. Because the errors counted by consecutive_gateway_errors are also included in consecutive_5xx_errors, if the value of consecutive_gateway_errors is greater than or equal to the value of consecutive_5xx_errors, consecutive_gateway_errors will have no effect.
.google.protobuf.UInt32Value consecutive_5xx_errors = 7;boolean hasInterval()
Time interval between ejection sweep analysis. format: 1h/1m/1s/1ms. MUST BE >=1ms. Default is 10s.
.google.protobuf.Duration interval = 2;com.google.protobuf.Duration getInterval()
Time interval between ejection sweep analysis. format: 1h/1m/1s/1ms. MUST BE >=1ms. Default is 10s.
.google.protobuf.Duration interval = 2;com.google.protobuf.DurationOrBuilder getIntervalOrBuilder()
Time interval between ejection sweep analysis. format: 1h/1m/1s/1ms. MUST BE >=1ms. Default is 10s.
.google.protobuf.Duration interval = 2;boolean hasBaseEjectionTime()
Minimum ejection duration. A host will remain ejected for a period equal to the product of minimum ejection duration and the number of times the host has been ejected. This technique allows the system to automatically increase the ejection period for unhealthy upstream servers. format: 1h/1m/1s/1ms. MUST BE >=1ms. Default is 30s.
.google.protobuf.Duration base_ejection_time = 3;com.google.protobuf.Duration getBaseEjectionTime()
Minimum ejection duration. A host will remain ejected for a period equal to the product of minimum ejection duration and the number of times the host has been ejected. This technique allows the system to automatically increase the ejection period for unhealthy upstream servers. format: 1h/1m/1s/1ms. MUST BE >=1ms. Default is 30s.
.google.protobuf.Duration base_ejection_time = 3;com.google.protobuf.DurationOrBuilder getBaseEjectionTimeOrBuilder()
Minimum ejection duration. A host will remain ejected for a period equal to the product of minimum ejection duration and the number of times the host has been ejected. This technique allows the system to automatically increase the ejection period for unhealthy upstream servers. format: 1h/1m/1s/1ms. MUST BE >=1ms. Default is 30s.
.google.protobuf.Duration base_ejection_time = 3;int getMaxEjectionPercent()
Maximum % of hosts in the load balancing pool for the upstream service that can be ejected. Defaults to 10%.
int32 max_ejection_percent = 4;int getMinHealthPercent()
Outlier detection will be enabled as long as the associated load balancing pool has at least min_health_percent hosts in healthy mode. When the percentage of healthy hosts in the load balancing pool drops below this threshold, outlier detection will be disabled and the proxy will load balance across all hosts in the pool (healthy and unhealthy). The threshold can be disabled by setting it to 0%. The default is 0% as it's not typically applicable in k8s environments with few pods per service.
int32 min_health_percent = 5;Copyright © 2018–2023 Alibaba Group. All rights reserved.