Skip to content

Commit fab83ab

Browse files
committed
Add scale-in/out cooldown params
Allow configuring ScaleInCooldownPeriod and ScaleOutCooldownPeriod parameters for the agent-scaler via Elastic Stack.
1 parent 2cbd1d8 commit fab83ab

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

templates/aws-stack.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,16 @@ Parameters:
222222
- "false"
223223
Default: "false"
224224

225+
ScaleOutCooldownPeriod:
226+
Description: Cooldown period in seconds before allowing another scale-out event
227+
Type: Number
228+
Default: 300
229+
230+
ScaleInCooldownPeriod:
231+
Description: Cooldown period in seconds before allowing another scale-in event
232+
Type: Number
233+
Default: 3600
234+
225235
LogRetentionDays:
226236
Type: Number
227237
Description: The number of days to retain the Cloudwatch Logs of the lambda.
@@ -1869,6 +1879,8 @@ Resources:
18691879
AgentAutoScaleGroup: !Ref AgentAutoScaleGroup
18701880
ScaleOutFactor: !Ref ScaleOutFactor
18711881
ScaleOutForWaitingJobs: !Ref ScaleOutForWaitingJobs
1882+
ScaleInCooldownPeriod: !Ref ScaleInCooldownPeriod
1883+
ScaleOutCooldownPeriod: !Ref ScaleOutCooldownPeriod
18721884
EventSchedulePeriod: !Ref ScalerEventSchedulePeriod
18731885
MinPollInterval: !Ref ScalerMinPollInterval
18741886
LogRetentionDays: !Ref LogRetentionDays

0 commit comments

Comments
 (0)