Skip to content

Commit c286003

Browse files
authored
feat: change default sorting algo in scheduled rebalancing (#465)
This commit changes the default node sorting algorithm for scheduled rebalancing to Highest Utilized Resource Price.
1 parent 3e3fb56 commit c286003

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)