Home

envoy.config.cluster.v3.Cluster.CommonLbConfig.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.config.cluster.v3.Cluster.CommonLbConfig.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