Warning

The v2 xDS API is not supported in Envoy v1.18.0 and above.

Hash Policy

type.HashPolicy

[type.HashPolicy proto]

Specifies the hash policy

{
  "source_ip": "{...}"
}
source_ip

(type.HashPolicy.SourceIp, REQUIRED)

type.HashPolicy.SourceIp

[type.HashPolicy.SourceIp proto]

The source IP will be used to compute the hash used by hash-based load balancing algorithms.