istio v1.31.0

DestinationRule.spec.trafficPolicy.loadBalancer.consistentHash

Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties.

7 fields
DestinationRule.spec.trafficPolicy.loadBalancer.consistentHash fields and descriptions
Field / TypeDescription
object

Hash based on HTTP cookie.

httpHeaderName
string

Hash based on a specific HTTP header.

httpQueryParameterName
string

Hash based on a specific HTTP query parameter.

object

The Maglev load balancer implements consistent hashing to backend hosts.

minimumRingSize
integer

Deprecated.

  • minimum: 0
object

The ring/modulo hash load balancer implements consistent hashing to backend hosts.

useSourceIp
boolean

Hash based on the source IP address.