Skip to content

Commit

Permalink
CI pipeline is super flaky, run it from scratch one more time 😭
Browse files Browse the repository at this point in the history
  • Loading branch information
geigerj0 committed Apr 25, 2024
1 parent 3fb278a commit 1b3be7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/acceptance/helpers/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,9 @@ func GenerateDynamicScaleOutAndInPolicy(instanceMin, instanceMax int, metricName
// GenerateDynamicScaleInPolicyBetween creates a scaling policy, that scales down from 2 instances to 1, if the metric value lies within a given range.
// Example how the scaling rules must be defined to achieve a "scale down if value is in range" behaviour:
//
// val < 10 ➡ +1 ➡ don't do anything if below 10 because there are already 2 instances
// val > 30 ➡ +1 ➡ don't do anything if above 30 because there are already 2 instances
// val <= 30 ➡ -1 ➡ scale down if less than 30
// val < 10 ➡ +1 ➡ don't do anything if below 10 because there are already 2 instances
// val > 30 ➡ +1 ➡ don't do anything if above 30 because there are already 2 instances
// val <= 30 ➡ -1 ➡ scale down if less than 30
func GenerateDynamicScaleInPolicyBetween(metricName string, scaleInLowerThreshold int64, scaleInUpperThreshold int64) string {
noDownscalingWhenBelowLower := ScalingRule{
MetricType: metricName,
Expand Down

0 comments on commit 1b3be7f

Please sign in to comment.