.. _envoy_api_file_envoy/api/v2/cluster/circuit_breaker.proto: Circuit breakers ================ .. _envoy_api_msg_cluster.CircuitBreakers: cluster.CircuitBreakers ----------------------- `[cluster.CircuitBreakers proto] `_ :ref:`Circuit breaking` settings can be specified individually for each defined priority. .. code-block:: json { "thresholds": [] } .. _envoy_api_field_cluster.CircuitBreakers.thresholds: thresholds (:ref:`cluster.CircuitBreakers.Thresholds `) If multiple :ref:`Thresholds` are defined with the same :ref:`RoutingPriority`, the first one in the list is used. If no Thresholds is defined for a given :ref:`RoutingPriority`, the default values are used. .. _envoy_api_msg_cluster.CircuitBreakers.Thresholds: cluster.CircuitBreakers.Thresholds ---------------------------------- `[cluster.CircuitBreakers.Thresholds proto] `_ A Thresholds defines CircuitBreaker settings for a :ref:`RoutingPriority`. .. code-block:: json { "priority": "...", "max_connections": "{...}", "max_pending_requests": "{...}", "max_requests": "{...}", "max_retries": "{...}" } .. _envoy_api_field_cluster.CircuitBreakers.Thresholds.priority: priority (:ref:`core.RoutingPriority `) The :ref:`RoutingPriority` the specified CircuitBreaker settings apply to. .. _envoy_api_field_cluster.CircuitBreakers.Thresholds.max_connections: max_connections (`UInt32Value `_) The maximum number of connections that Envoy will make to the upstream cluster. If not specified, the default is 1024. .. _envoy_api_field_cluster.CircuitBreakers.Thresholds.max_pending_requests: max_pending_requests (`UInt32Value `_) The maximum number of pending requests that Envoy will allow to the upstream cluster. If not specified, the default is 1024. .. _envoy_api_field_cluster.CircuitBreakers.Thresholds.max_requests: max_requests (`UInt32Value `_) The maximum number of parallel requests that Envoy will make to the upstream cluster. If not specified, the default is 1024. .. _envoy_api_field_cluster.CircuitBreakers.Thresholds.max_retries: max_retries (`UInt32Value `_) The maximum number of parallel retries that Envoy will allow to the upstream cluster. If not specified, the default is 3.