-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.yaml
65 lines (65 loc) · 1.51 KB
/
config.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
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
55
56
57
58
59
60
61
62
63
64
65
---
input_file: "data/decreasinng_data.csv"
output_file: "output/simple_scaling.csv"
metrics: False
metrics_output_file: "output/simple_scaling_metrics.csv"
plot: True
initial_allocated_cores:
process_data_func: 'process_average_cores'
application_start_time:
min: 9
max: 12
scheduling:
task1:
cronExpression: "0 3 * * *"
scaleTargetCapacity: ~
scaleMinCapacity: 80
scaleMaxCapacity: ~
scaleStepSizeUp: ~
scaleStepSizeDown: ~
task2:
cronExpression: "45 8 * * *"
scaleTargetCapacity: ~
scaleMinCapacity: 128
scaleMaxCapacity: ~
scaleStepSizeUp: ~
scaleStepSizeDown: ~
task3:
cronExpression: "0 9 * * *"
scaleTargetCapacity: ~
scaleMinCapacity: 224
scaleMaxCapacity: ~
scaleStepSizeUp: ~
scaleStepSizeDown: ~
task4:
cronExpression: "15 9 * * *"
scaleTargetCapacity: ~
scaleMinCapacity: 320
scaleMaxCapacity: ~
scaleStepSizeUp: ~
scaleStepSizeDown: ~
policies:
use: "target_tracking" # TODO tirar use de policies
simple_scaling:
src: "src/policies/simple_scaling_policy.R"
func: "simple_scaling_policy"
lower_bound: 25
upper_bound: 50
step_type: "cores"
up_step_size: 16
down_step_size: 4
min_cap: 32
max_cap: 240
evaluation_period: 5
cooldown: 6
target_tracking:
src: "src/policies/target_tracking_policy.R"
func: "target_tracking_policy"
target_value: 45
min_cap: 320
max_cap: 2560
scale_in_threshold: 10
vm_cores: 4
cooldown:
up: 4
down: 6