outlier_detection_policy.proto

Package : resilience.policy.gloo.solo.io

Top

outlier_detection_policy.proto

Table of Contents

OutlierDetectionPolicySpec

OutlierDetectionPolicy is used to configure outlier detection on the selected destinations. Specifying this field requires an empty source_selector because it must apply to all traffic. OutlierDetectionPolicies are applied at the Destination level.

Field Type Label Description
applyToDestinations []common.gloo.solo.io.DestinationSelector repeated select the destinations where the policy will be applied if left empty, will apply to all destinations in the workspace.
config resilience.policy.gloo.solo.io.OutlierDetectionPolicySpec.Config The details of the OutlierDetectionPolicy to apply to the selected destinations.

OutlierDetectionPolicySpec.Config

Field Type Label Description
consecutiveErrors uint32 The number of errors before a destination is removed from the healthy connection pool. The default is 5.
interval google.protobuf.Duration The amount of time between analyzing destinations for ejection. Set this value as an integer plus a unit of time, in the format 1h, 1m, 1s, or 1ms. The value must be at least 1ms, and defaults to 10s.
baseEjectionTime google.protobuf.Duration The minimum time duration for ejection, or the time when a destination is considered unhealthy and not used for load balancing. Set this value as an integer plus a unit of time, in the format 1h, 1m, 1s, or 1ms. The value must be at least 1ms, and defaults to 30s.
maxEjectionPercent uint32 The maximum percentage of destinations that can be removed from the healthy connection pool at a time. For example, if you have 10 total destinations that the policy selects, and set this value to 50 percent, 5 destinations can be removed at once. At least 1 destination can always be removed, regardless of the value you set. You can set this value between 0 and 100, with a default of 100.

OutlierDetectionPolicyStatus

reflects the status of the OutlierDetectionPolicy

Field Type Label Description
global common.gloo.solo.io.GenericGlobalStatus
workspaces []resilience.policy.gloo.solo.io.OutlierDetectionPolicyStatus.WorkspacesEntry repeated The status of the resource in each workspace that it exists in.
selectedDestinationPorts []common.gloo.solo.io.DestinationReference repeated Destination ports selected by the policy

OutlierDetectionPolicyStatus.WorkspacesEntry

Field Type Label Description
key string
value common.gloo.solo.io.WorkspaceStatus