envoy.extensions.load_balancing_policies.common.v3.ConsistentHashingLbConfig
Example
Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working
code.
local types = import 'types.libsonnet';
types.envoy.extensions.load_balancing_policies.common.v3.ConsistentHashingLbConfig
.withHashBalanceFactor(1)
.withUseHostnameForHashing(false)
._validate()
Fields
Name |
Type |
One-of group |
Required |
Constraints |
hash_balance_factor |
google.protobuf.UInt32Value
|
|
|
{"Uint32":{"gte":100}}
|
use_hostname_for_hashing |
bool
|
|
|
|