-
Notifications
You must be signed in to change notification settings - Fork 5
/
policy.sfcpreprod.json
54 lines (54 loc) · 1.14 KB
/
policy.sfcpreprod.json
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"instance_min_count": 1,
"instance_max_count": 10,
"scaling_rules": [
{
"metric_type": "cpu",
"breach_duration_secs": 120,
"threshold": 50,
"operator": "<",
"cool_down_secs": 60,
"adjustment": "-1"
},
{
"metric_type": "cpu",
"breach_duration_secs": 60,
"threshold": 50,
"operator": ">=",
"cool_down_secs": 60,
"adjustment": "+1"
},
{
"metric_type": "memoryutil",
"breach_duration_secs": 120,
"threshold": 50,
"operator": "<",
"cool_down_secs": 60,
"adjustment": "-1"
},
{
"metric_type": "memoryutil",
"breach_duration_secs": 120,
"threshold": 50,
"operator": ">=",
"cool_down_secs": 60,
"adjustment": "+1"
},
{
"metric_type": "responsetime",
"breach_duration_secs": 60,
"threshold": 1200,
"operator": "<",
"cool_down_secs": 60,
"adjustment": "-1"
},
{
"metric_type": "responsetime",
"breach_duration_secs": 60,
"threshold": 1200,
"operator": ">=",
"cool_down_secs": 60,
"adjustment": "+1"
}
]
}