Skip to content
Kong Logo | Kong Docs Logo
search
  • We're Hiring!
  • Docs
    • Kong Gateway
    • Kong Konnect
    • Kong Mesh
    • Plugin Hub
    • decK
    • Kubernetes Ingress Controller
    • Insomnia
    • Kuma

    • Docs contribution guidelines
  • Plugin Hub
  • Support
  • Community
  • Kong Academy
Get a Demo Start Free Trial
  • Kong Gateway
  • Kong Konnect
  • Kong Mesh
  • Plugin Hub
  • decK
  • Kubernetes Ingress Controller
  • Insomnia
  • Kuma

  • Docs contribution guidelines
  • 2.2.x (latest)
  • 2.1.x
  • 2.0.x
  • 1.9.x
  • 1.8.x
  • 1.7.x
  • 1.6.x
  • 1.5.x
  • 1.4.x
  • 1.3.x
  • 1.2.x

github-edit-pageEdit this page

report-issueReport an issue

enterprise-switcher-iconSwitch to OSS

Kong Mesh
2.1.x
  • Home
  • Kong Mesh
  • Generated
  • Resources
  • FaultInjection
You are browsing documentation for an outdated version. See the latest documentation here.

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

Thank you for your feedback.
Was this page useful?
  • Kong
    THE CLOUD CONNECTIVITY COMPANY

    Kong powers reliable digital connections across APIs, hybrid and multi-cloud environments.

    • Company
    • Customers
    • Events
    • Investors
    • Careers Hiring!
    • Partners
    • Press
    • Contact
  • Products
    • Kong Konnect
    • Kong Gateway
    • Kong Mesh
    • Get Started
    • Pricing
  • Resources
    • eBooks
    • Webinars
    • Briefs
    • Blog
    • API Gateway
    • Microservices
  • Open Source
    • Install Kong Gateway
    • Kong Community
    • Kubernetes Ingress
    • Kuma
    • Insomnia
  • Solutions
    • Decentralize
    • Secure & Govern
    • Create a Dev Platform
    • API Gateway
    • Kubernetes
    • Service Mesh
Star
  • Terms•Privacy
© Kong Inc. 2023