Skip to content

Commit 87d353c

Browse files
committed
feat: change default sorting algo in scheduled rebalancing
This commit changes the default node sorting algorithm for scheduled rebalancing to Highest Utilized Resource Price.
1 parent 3e3fb56 commit 87d353c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

castai/resource_rebalancing_schedule.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func resourceRebalancingSchedule() *schema.Resource {
184184
Type: schema.TypeString,
185185
Optional: true,
186186
Description: "Defines the algorithm used to select the target nodes for rebalancing.",
187-
Default: "TargetNodeSelectionAlgorithmNormalizedPrice",
187+
Default: "TargetNodeSelectionAlgorithmUtilizedPrice",
188188
ValidateDiagFunc: validation.ToDiagFunc(validation.StringInSlice([]string{
189189
"TargetNodeSelectionAlgorithmNormalizedPrice",
190190
"TargetNodeSelectionAlgorithmUtilizedPrice",

0 commit comments

Comments
 (0)