forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 5
/
erda.yml
43 lines (42 loc) · 1.1 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
version: "2.0"
meta:
ERDA_COMPONENT: ""
values:
production:
docker_data_root: "<%$.Docker.DataRoot%>"
platform_data_root: "<%$.Platform.DataRoot%>"
envs: {}
services:
filebeat:
image: filebeat
envs:
COLLECTOR_AUTH_PASSWORD: G$9767bP32drYFPWrK4XMLRMTatiM6cU
COLLECTOR_AUTH_USERNAME: collector
DOCKER_SOCK_PATH: unix:///rootfs/var/run/docker.sock
resources:
cpu: ${request_cpu:0.2}
mem: ${request_mem:512}
max_cpu: 1
max_mem: 512
network:
mode: container
binds:
- ${docker_data_root:/var/lib/docker}/containers:/var/lib/docker/containers:ro
- ${platform_data_root:/data}/kube-apiserver/audit-logs:/data/kube-apiserver/audit-logs:ro
- ${platform_data_root:/data}/spot-v2/filebeat:/data/spot/filebeat:rw
- /var/run:/rootfs/var/run:ro
deployments:
replicas: 0
workload: per_node
labels:
GROUP: spot-v2
health_check:
http: {}
exec:
cmd: ps aux | grep filebeat || exit 1
duration: 120
addons:
infos:
plan: "custom:basic"
options:
version: "1.0.0"