# Sample scaling policy that can be attached to a cluster
# This policy scales out a cluster when a threshold alarm on ceilometer
# reaches alarm state

type: ScalingPolicy
version: 1.0

schedule:
  start_time: "2015-05-08T07:00:00Z"
  end_time: "2015-10-08T07:00:00Z"
  recurrence: "0 7 * * 6"

handlers:
  - type: webhook
    action: SENLIN::ACTION::RESIZE
    params:
      type: EXACT_CAPACITY
      number: 15
      min_size: 15
      max_size: 50
    credentials:
      user: john
      password: secrete
