Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nastassia-dailidava committed Apr 29, 2024
1 parent 019639d commit cae922e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,10 @@ class EnvoyClustersFactory(
.setLocalityWeightedLbConfig(Cluster.CommonLbConfig.LocalityWeightedLbConfig.getDefaultInstance())
.build()
)
.setLbSubsetConfig(
Cluster.LbSubsetConfig.newBuilder(cluster.lbSubsetConfig)
.setLocalityWeightAware(true)
)
.also {
logger.debug("Created cluster config for traffic splitting: {}", it.toString())
}
Expand Down

0 comments on commit cae922e

Please sign in to comment.