-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathravel.example.toml
91 lines (81 loc) · 1.65 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[daemon]
database_path = "./agent.db"
[daemon.runtime]
cloud_hypervisor_binary = "./cloud-hypervisor"
jailer_binary = "./bin/jailer"
init_binary = "./bin/initd"
linux_kernel = "./vmlinux.bin"
[daemon.agent]
resources = { cpus_mhz = 20000, memory_mb = 16_384 }
node_id = "ravel-1"
region = "fr"
address = "127.0.0.1"
port = 8080
http_proxy_port = 8082
[daemon.agent.tls]
cert_file = "ravel-1-agent-cert.pem"
key_file = "ravel-1-agent-key.pem"
ca_file = "ravel-ca-cert.pem"
[nats]
url = "nats://127.0.0.1:4222"
cred_file = "./nats.creds"
[corrosion]
url = "http://127.0.0.1:8081"
[registries."your-registry"]
username = ""
password = ""
[server]
postgres_url = "postgres://user:password@host:port/db"
[server.api]
address = ":3000"
[server.tls]
cert_file = "server-1-server-cert.pem"
key_file = "server-1-server-key.pem"
ca_file = "ravel-ca-cert.pem"
[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]
vcpu_frequency = 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,
] },
]