Is there a way to disable circuit breaking?

Envoy comes with certain defaults for each kind of circuit breaking. Currently, there isn’t a switch to turn circuit breaking off completely; however, you could achieve a similar behavior by setting these thresholds very high, for example, to std::numeric_limits<uint32_t>::max().

Following is a sample configuration that tries to effectively disable all kinds of circuit breaking by setting the thresholds to a value of 1000000000.

circuit_breakers:
  thresholds:
    - priority: DEFAULT
      max_connections: 1000000000
      max_pending_requests: 1000000000
      max_requests: 1000000000
      max_retries: 1000000000
    - priority: HIGH
      max_connections: 1000000000
      max_pending_requests: 1000000000
      max_requests: 1000000000
      max_retries: 1000000000

Envoy supports priority routing at the route level. You may adjust the thresholds accordingly.