From 31982b75568de442a7796492b26ec33b8ac1ada3 Mon Sep 17 00:00:00 2001 From: Lukas Hundt Petersen Date: Thu, 21 Nov 2024 12:40:39 +0100 Subject: [PATCH] Change fallback strategy to consistent-hashing --- cmd/otel-allocator/allocation/strategy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/otel-allocator/allocation/strategy.go b/cmd/otel-allocator/allocation/strategy.go index c9d9e64a3f..e299ced079 100644 --- a/cmd/otel-allocator/allocation/strategy.go +++ b/cmd/otel-allocator/allocation/strategy.go @@ -149,7 +149,7 @@ func init() { panic(err) } err = Register(perNodeStrategyName, func(log logr.Logger, opts ...AllocationOption) Allocator { - return newAllocator(log, newPerNodeStrategy(newleastWeightedStrategy()), opts...) + return newAllocator(log, newPerNodeStrategy(newConsistentHashingStrategy()), opts...) }) if err != nil { panic(err)