-
Notifications
You must be signed in to change notification settings - Fork 7
/
ravel.example.toml
75 lines (69 loc) · 1.34 KB
/
ravel.example.toml
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
66
67
68
69
70
71
72
73
74
75
[nats]
url = "nats://127.0.0.1:4222"
cred_file = "./nats.creds"
[corrosion]
url = "http://127.0.0.1:8081"
# Ravel Agent configuration
[agent]
node_id = "ravel-1"
region = "fr"
address = "127.0.0.1"
agent_port = 8080
http_proxy_port = 8082
init_binary = "./bin/ravel-init"
linux_kernel = "./vmlinux.bin"
database_path = "./agent.db"
resources = { cpus_mhz = 20000, memory_mb = 16_384 }
# Ravel Server configuration
[server]
postgres_url = "postgres://user:password@host:port/db"
[server.api]
address = ":3000"
bearer_token = "ravel"
[server.machine_templates.eco]
vcpu_frequency = 250
combinations = [
{ vcpus = 1, memory_configs = [
256,
512,
1_024,
2_048,
] },
{ vcpus = 2, memory_configs = [
512,
1_024,
2_048,
4_096,
] },
{ vcpus = 4, memory_configs = [
1_024,
2_048,
4_096,
8_192,
] },
{ vcpus = 8, memory_configs = [
2_048,
4_096,
8_192,
16_384,
] },
]
[server.machine_templates.std]
frequency_by_vcpu = 2200
combinations = [
{ vcpus = 1, memory_configs = [
1_024,
2_048,
4_096,
] },
{ vcpus = 2, memory_configs = [
2_048,
4_096,
8_192,
] },
{ vcpus = 4, memory_configs = [
4_096,
8_192,
16_384,
] },
]