This project is in the process of being donated to the CNCF and is not affiliated with the Kubernetes project.

fault.proto

Package: fault.options.gloo.solo.io Types:

Source File: github.com/solo-io/gloo/projects/gloo/api/v1/options/faultinjection/fault.proto


RouteAbort

"percentage": float
"httpStatus": int
Field Type Description
percentage float Percentage of requests that should be aborted, defaulting to 0. This should be a value between 0.0 and 100.0, with up to 6 significant digits.
httpStatus int This should be a standard HTTP status in the range [200, 600), e.g. 503. Defaults to 0.

RouteDelay

"percentage": float
"fixedDelay": .google.protobuf.Duration
Field Type Description
percentage float Percentage of requests that should be delayed, defaulting to 0. This should be a value between 0.0 and 100.0, with up to 6 significant digits.
fixedDelay .google.protobuf.Duration Fixed delay, defaulting to 0. Will be rejected by the control plane if the delay is specified and less than 1 second.

RouteFaults

"abort": .fault.options.gloo.solo.io.RouteAbort
"delay": .fault.options.gloo.solo.io.RouteDelay
Field Type Description
abort .fault.options.gloo.solo.io.RouteAbort
delay .fault.options.gloo.solo.io.RouteDelay