CrossSWE-Bench / statements /cloudnative-istio-61452.md
Silin-Chen's picture
Evaluate public behavior for cloudnative-istio-61452
c974f59 verified
|
Raw History Blame Contribute Delete
682 Bytes

Support failure-percentage outlier detection in DestinationRule. istio/api must expose a bounded failure_percentage_threshold, while istio/istio must map it into Envoy failure-percentage detection and enforcement configuration.

Expose failurePercentageThreshold in the DestinationRule JSON/CRD configuration and failure_percentage_threshold in protobuf. Accept integer percentages from 0 through 100. For a positive threshold, write the same value to the generated Envoy cluster and set failure-percentage enforcement to 100. A zero or absent threshold leaves that enforcement disabled. Preserve other configured outlier-detection settings, including consecutive 5xx detection.