-
Notifications
You must be signed in to change notification settings - Fork 11
/
erda.yml
57 lines (55 loc) · 1.28 KB
/
erda.yml
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
version: "2.0"
meta:
ERDA_COMPONENT: ""
values:
production:
docker_data_root: "<%$.Docker.DataRoot%>"
platform_data_root: "<%$.Platform.DataRoot%>"
replicas: 1
request_cpu: 0.1
request_mem: 128
staging:
platform_data_root: /data/staing
development:
platform_data_root: /data/staing
docker_data_root: /data/docker/data
test:
platform_data_root: /data/test
envs: {}
services:
fluent-bit:
image: fluent-bit
envs:
UPGRADE_1_4_0: 0
COLLECTOR_AUTH_PASSWORD: G$9767bP32drYFPWrK4XMLRMTatiM6cU
COLLECTOR_AUTH_USERNAME: collector
resources:
cpu: ${request_cpu:0.2}
mem: ${request_mem:300}
max_cpu: 1
max_mem: 1024
network:
mode: container
ports:
- port: 2020
protocol: "TCP"
l4_protocol: "TCP"
binds:
- ${docker_data_root:/var/lib/docker}/containers:${docker_data_root:/var/lib/docker}/containers:ro
- ${platform_data_root:/data}/spot-v2/fluent-bit:/data/spot/fluent-bit:rw
- /var/log:/var/log:ro
deployments:
replicas: 1
workload: per_node
labels:
GROUP: spot-v2
health_check:
http:
port: 2020
path: /
duration: 120
addons:
infos:
plan: "custom:basic"
options:
version: "1.0.0"