Skip to content

Commit

Permalink
test if
Browse files Browse the repository at this point in the history
  • Loading branch information
agrawaliti committed Jan 15, 2025
1 parent 293b0cb commit 6f6950f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions modules/python/clusterloader2/slo/config/load-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,7 @@ name: load-config

# TODO: maintaining old logic when namespace value is 1, use smallDeploymentPods as calculatedPods count
{{$calculatedPods := SubtractInt $podsPerNamespace (MultiplyInt $bigDeploymentsPerNamespace $BIG_GROUP_SIZE)}}
{{$smallDeploymentPods := 0}}
{{printf "Type: %T, Value: %v" $namespaces $namespaces}}
{{if eq (int $namespaces) 1}}
{{$smallDeploymentPods = $calculatedPods}}
{{else}}
{{$smallDeploymentPods = DivideInt $totalPods $namespaces}}
{{end}}
{{$smallDeploymentPods := (if $NETWORK_TEST (DivideInt $totalPods $namespaces) $calculatedPods)}}
{{$smallDeploymentsPerNamespace := DivideInt $smallDeploymentPods $SMALL_GROUP_SIZE}}

namespace:
Expand Down

0 comments on commit 6f6950f

Please sign in to comment.