forked from cloudify-examples/drupal-blueprint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscale.yaml
26 lines (25 loc) · 819 Bytes
/
scale.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
policy_types:
scale_policy_type:
source: policies/scale.clj
properties:
default_instances:
default: true
policy_operates_on_group:
default: true
service_selector:
description: regular expression that selects the metric to be measured
default: ".*"
moving_window_size:
description: the moving window for individual sources in secs
default: 10
scale_threshold:
description: the value to trigger scaling over aggregrated moving values
scale_limit:
description: scaling limit
default: 10
scale_direction:
description: scale up ('<') or scale down ('>')
default: '<'
cooldown_time:
description: the time to wait before evaluating again after a scale
default: 60