31 lines
722 B
YAML
31 lines
722 B
YAML
heat_template_version: 2013-05-23
|
|
description: 'sample-tosca-mead-scaling
|
|
|
|
'
|
|
|
|
parameters: {}
|
|
outputs: {}
|
|
resources:
|
|
SP1_group:
|
|
properties:
|
|
desired_capacity: 2
|
|
max_size: 3
|
|
min_size: 1
|
|
cooldown: 60
|
|
resource: {type: SP1_res.yaml}
|
|
type: OS::Heat::AutoScalingGroup
|
|
SP1_scale_in:
|
|
properties:
|
|
adjustment_type: change_in_capacity
|
|
auto_scaling_group_id: {get_resource: SP1_group}
|
|
cooldown: 60
|
|
scaling_adjustment: -1
|
|
type: OS::Heat::ScalingPolicy
|
|
SP1_scale_out:
|
|
properties:
|
|
adjustment_type: change_in_capacity
|
|
auto_scaling_group_id: {get_resource: SP1_group}
|
|
cooldown: 60
|
|
scaling_adjustment: 1
|
|
type: OS::Heat::ScalingPolicy
|