---
title: Rules: Destination Policies
overview: Generated documentation for the Istio's traffic management rules.
order: 1000
layout: docs
type: markdown
---
### Index
* [DestinationPolicy](#istio.proxy.v1.config.DestinationPolicy)
(message)
* [LoadBalancing](#istio.proxy.v1.config.LoadBalancing)
(message)
* [CircuitBreaker](#istio.proxy.v1.config.CircuitBreaker)
(message)
### DestinationPolicy
DestinationPolicy defines client/caller-side policies that determine how
to handle traffic bound to a particular destination service. The policy
specifies configuration for load balancing and circuit breakers. For
example, a simple load balancing policy for the reviews service would
look as follows:
destination: reviews.default.svc.cluster.local
policy:
- loadBalancing: RANDOM
simpleCb:
maxConnections: 1000
Policies are applicable per individual service versions. ONLY
ONE policy can be defined per service version. Policy CANNOT be empty.
Field |
Type |
Description |
maxConnections |
int32 |
Maximum number of connections to a backend. |
httpMaxPendingRequests |
int32 |
Maximum number of pending requests to a backend. Default 1024 |
httpMaxRequests |
int32 |
Maximum number of requests to a backend. Default 1024 |
sleepWindow |
Duration |
Minimum time the circuit will be closed. format: 1h/1m/1s/1ms. MUST BE >=1ms. Default is 30s. |
httpConsecutiveErrors |
int32 |
Number of 5XX errors before circuit is opened. Defaults to 5. |
httpDetectionInterval |
Duration |
Time interval between ejection sweep analysis. format: 1h/1m/1s/1ms. MUST BE >=1ms. Default is 10s. |
httpMaxRequestsPerConnection |
int32 |
Maximum number of requests per connection to a backend. Setting this parameter to 1 disables keep alive. |
httpMaxEjectionPercent |
int32 |
Maximum % of hosts in the load balancing pool for the destination service that can be ejected by the circuit breaker. Defaults to 10%. |