Careful!

You are browsing documentation for a version of Kuma that is not the latest release.

FaultInjection

  • sources (required, repeated)

    List of selectors to match dataplanes that are sources of traffic.

    • match (optional)

      Tags to match, can be used for both source and destinations

  • destinations (required, repeated)

    List of selectors to match services that are destinations of traffic.

    • match (optional)

      Tags to match, can be used for both source and destinations

  • conf (required)

    Configuration of FaultInjection

    • delay (optional)

      Delay if specified then response from the destination will be delivered with a delay

      • percentage (required)

        Percentage of requests on which delay will be injected, has to be in [0.0 - 100.0] range

      • value (required)

        The duration during which the response will be delayed

    • abort (optional)

      Abort if specified makes source side to receive specified httpStatus code

      • percentage (required)

        Percentage of requests on which abort will be injected, has to be in [0.0 - 100.0] range

      • httpStatus (required)

        HTTP status code which will be returned to source side

    • responseBandwidth (optional)

      ResponseBandwidth if specified limits the speed of sending response body

      • percentage (required)

        Percentage of requests on which response bandwidth limit will be injected, has to be in [0.0 - 100.0] range

      • limit (required)

        Limit is represented by value measure in gbps, mbps, kbps or bps, e.g. 10kbps

Last Updated: 11/4/2022, 19:20:08 PM