# Sample scaling policy for scaling-in a cluster
type: senlin.policy.scaling
version: 1.0
description: A policy for reducing size of a cluster.
properties:
  handlers:
    - type: webhook
      action: SENLIN::ACTION::RESIZE
      params:
        type: CHANGE_IN_CAPACITY
        number: -1
        strategy: BEST_EFFORT
      credentials:
        user: john
        password: secrete
    - type: email
      addresses:
        - joe@cloud.com
