Hash Policy
type.v3.HashPolicy
Specifies the hash policy
{
"source_ip": "{...}",
"filter_state": "{...}"
}
source_ip
Precisely one of source_ip, filter_state must be set.
filter_state
(type.v3.HashPolicy.FilterState)
Precisely one of source_ip, filter_state must be set.
type.v3.HashPolicy.SourceIp
[type.v3.HashPolicy.SourceIp proto]
The source IP will be used to compute the hash used by hash-based load balancing algorithms.
type.v3.HashPolicy.FilterState
[type.v3.HashPolicy.FilterState proto]
An Object in the filterState will be used to compute the hash used by hash-based load balancing algorithms.
{
"key": "..."
}
key
(string, REQUIRED) The name of the Object in the filterState, which is an Envoy::Hashable object. If there is no data associated with the key, or the stored object is not Envoy::Hashable, no hash will be produced.
当前内容版权归 servicemesher 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 servicemesher .