Skip to content

Commit

Permalink
Add Cooldown setting for scaling-in
Browse files Browse the repository at this point in the history
  • Loading branch information
muratugureminoglu committed Nov 18, 2024
1 parent b5f3070 commit a9cd0a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aws-custom-cluster/template-ssl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,8 @@ Resources:
PredefinedMetricSpecification:
PredefinedMetricType: ASGAverageCPUUtilization
TargetValue: 50
ScaleInCooldown: 300
ScaleOutCooldown: 300

InstanceSecurityGroup:
Type: 'AWS::EC2::SecurityGroup'
Expand Down
2 changes: 2 additions & 0 deletions aws-custom-cluster/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,8 @@ Resources:
PredefinedMetricSpecification:
PredefinedMetricType: ASGAverageCPUUtilization
TargetValue: 50
ScaleInCooldown: 300
ScaleOutCooldown: 300

InstanceSecurityGroup:
Type: 'AWS::EC2::SecurityGroup'
Expand Down

0 comments on commit a9cd0a4

Please sign in to comment.