Home

envoy.config.cluster.v3.OutlierDetection

Example

Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working code.
local types = import 'types.libsonnet';

types.envoy.config.cluster.v3.OutlierDetection
.withBaseEjectionTime(types.google.protobuf.Duration)
.withConsecutive5xx(1)
.withConsecutiveGatewayFailure(1)
.withConsecutiveLocalOriginFailure(1)
.withEnforcingConsecutive5xx(1)
.withEnforcingConsecutiveGatewayFailure(1)
.withEnforcingConsecutiveLocalOriginFailure(1)
.withEnforcingFailurePercentage(1)
.withEnforcingFailurePercentageLocalOrigin(1)
.withEnforcingLocalOriginSuccessRate(1)
.withEnforcingSuccessRate(1)
.withFailurePercentageMinimumHosts(1)
.withFailurePercentageRequestVolume(1)
.withFailurePercentageThreshold(1)
.withInterval(types.google.protobuf.Duration)
.withMaxEjectionPercent(1)
.withMaxEjectionTime(types.google.protobuf.Duration)
.withMaxEjectionTimeJitter(types.google.protobuf.Duration)
.withSplitExternalLocalOriginErrors(false)
.withSuccessRateMinimumHosts(1)
.withSuccessRateRequestVolume(1)
.withSuccessRateStdevFactor(1)
._validate()

Fields

Name Type One-of group Required Constraints
base_ejection_time google.protobuf.Duration   {"Duration":{"gt":{}}}
consecutive_5xx google.protobuf.UInt32Value  
consecutive_gateway_failure google.protobuf.UInt32Value  
consecutive_local_origin_failure google.protobuf.UInt32Value  
enforcing_consecutive_5xx google.protobuf.UInt32Value   {"Uint32":{"lte":100}}
enforcing_consecutive_gateway_failure google.protobuf.UInt32Value   {"Uint32":{"lte":100}}
enforcing_consecutive_local_origin_failure google.protobuf.UInt32Value   {"Uint32":{"lte":100}}
enforcing_failure_percentage google.protobuf.UInt32Value   {"Uint32":{"lte":100}}
enforcing_failure_percentage_local_origin google.protobuf.UInt32Value   {"Uint32":{"lte":100}}
enforcing_local_origin_success_rate google.protobuf.UInt32Value   {"Uint32":{"lte":100}}
enforcing_success_rate google.protobuf.UInt32Value   {"Uint32":{"lte":100}}
failure_percentage_minimum_hosts google.protobuf.UInt32Value  
failure_percentage_request_volume google.protobuf.UInt32Value  
failure_percentage_threshold google.protobuf.UInt32Value   {"Uint32":{"lte":100}}
interval google.protobuf.Duration   {"Duration":{"gt":{}}}
max_ejection_percent google.protobuf.UInt32Value   {"Uint32":{"lte":100}}
max_ejection_time google.protobuf.Duration   {"Duration":{"gt":{}}}
max_ejection_time_jitter google.protobuf.Duration  
split_external_local_origin_errors bool  
success_rate_minimum_hosts google.protobuf.UInt32Value  
success_rate_request_volume google.protobuf.UInt32Value  
success_rate_stdev_factor google.protobuf.UInt32Value