increased instance warmup time to prevent autoscaling example from draining and killing instances before they are ready
This commit is contained in:
parent
1d26bb4215
commit
1fd86375c9
@ -378,7 +378,7 @@ response = asClient.put_scaling_policy(
|
|||||||
AutoScalingGroupName='tug-of-war-asg-autoscalinggroup',
|
AutoScalingGroupName='tug-of-war-asg-autoscalinggroup',
|
||||||
PolicyName='tug-of-war-asg-scalingpolicy',
|
PolicyName='tug-of-war-asg-scalingpolicy',
|
||||||
PolicyType='TargetTrackingScaling',
|
PolicyType='TargetTrackingScaling',
|
||||||
EstimatedInstanceWarmup=30,
|
EstimatedInstanceWarmup=60,
|
||||||
TargetTrackingConfiguration={
|
TargetTrackingConfiguration={
|
||||||
'PredefinedMetricSpecification': {
|
'PredefinedMetricSpecification': {
|
||||||
'PredefinedMetricType': 'ALBRequestCountPerTarget',
|
'PredefinedMetricType': 'ALBRequestCountPerTarget',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user