forked from influxdata/telegraf
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy patherda.yml
209 lines (207 loc) · 6.88 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
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
version: "2"
meta:
ERDA_COMPONENT: ""
values:
production:
replicas: 1
request_cpu: 0.1
request_mem: 128
test:
request_cpu: 0.1
request_mem: 128
envs:
UPGRADE_1_4_0: 0
services:
telegraf:
image: telegraf
envs:
CLUSTER_PATH: /rootfs/etc/cluster-node
COLLECTOR_AUTH_PASSWORD: G$9767bP32drYFPWrK4XMLRMTatiM6cU
COLLECTOR_AUTH_USERNAME: collector
HOST_ETC: /rootfs/etc
HOST_MOUNT_PREFIX: /rootfs
HOST_PROC: /rootfs/proc
HOST_SYS: /rootfs/sys
HPROF_OUTPUT_PATH: /rootfs/tmp
INPUT_DOCKER_TAG_KEYS: '[''DICE_*'', ''N?_DICE_*'', ''EDAS_*'', ''ADDON_ID'', ''N?_ADDON_ID'', ''TERMINUS_KEY'', ''TERMINUS_DEFINE_TAG'', ''MESOS_TASK_ID'', ''POD_IP'', ''io.kubernetes.pod.name'', ''io.kubernetes.pod.namespace'', ''io.kubernetes.pod.uid'']'
INPUT_METASERVER_FIELD_KEYS: '[''DICE_*'', ''N?_DICE_*'', ''EDAS_*'', ''TERMINUS_DEFINE_TAG'', ''POD_IP'', ''io.kubernetes.pod.name'', ''io.kubernetes.pod.namespace'']'
SADC_PATH: /usr/lib64/sa/sadc
SADF_PATH: /usr/bin/sadf
resources:
cpu: ${request_cpu:0.5}
mem: ${request_mem:512}
max_cpu: 0.5
max_mem: 512
network:
mode: host
binds:
- /:/rootfs:ro
- /tmp:/rootfs/tmp:rw
- /run/udev:/run/udev:ro
deployments:
workload: per_node
replicas: 1
labels:
GROUP: spot-v2
PRIVILEGED: "true"
health_check:
exec:
cmd: ps aux | grep telegraf || exit 1
duration: 120
telegraf-app:
image: telegraf-app
ports:
- port: 7086
protocol: TCP
l4_protocol: TCP
expose: false
default: false
- port: 7082
protocol: UDP
l4_protocol: UDP
expose: false
default: false
envs:
CLUSTER_PATH: /rootfs/etc/cluster-node
COLLECTOR_AUTH_PASSWORD: G$9767bP32drYFPWrK4XMLRMTatiM6cU
COLLECTOR_AUTH_USERNAME: collector
TELEGRAF_CONFIG: telegraf-app
resources:
cpu: ${request_cpu:0.5}
mem: ${request_mem:512}
max_cpu: 0.5
max_mem: 512
network:
mode: host
binds:
- /:/rootfs:ro
deployments:
workload: per_node
replicas: 1
labels:
GROUP: spot-v2
PRIVILEGED: "true"
health_check:
exec:
cmd: ps aux | grep telegraf || exit 1
duration: 120
telegraf-platform:
image: telegraf-platform
ports:
- port: 8094
protocol: UDP
l4_protocol: UDP
expose: false
default: false
- port: 8095
protocol: TCP
l4_protocol: TCP
expose: false
default: false
- port: 6963
protocol: TCP
l4_protocol: TCP
expose: false
default: false
- port: 7180
protocol: TCP
l4_protocol: TCP
expose: false
default: false
envs:
CASSANDRA_EXPORTER_JMX_ADDR: addon-cassandra-exporter-jmx.default.svc.cluster.local
CASSANDRA_JOLOKIA_PORT: "8778"
CLUSTER_PATH: /rootfs/etc/cluster-node
COLLECTOR_AUTH_PASSWORD: G$9767bP32drYFPWrK4XMLRMTatiM6cU
COLLECTOR_AUTH_USERNAME: collector
HOST_ETC: /rootfs/etc
HOST_MOUNT_PREFIX: /rootfs
HOST_PROC: /rootfs/proc
HOST_SYS: /rootfs/sys
HPROF_OUTPUT_PATH: /rootfs/tmp
KAFKA_JOLOKIA_PORT: "8778"
TELEGRAF_CONFIG: platform.alone
TERMINUS_LOG_COLLECT: "false"
resources:
cpu: ${request_cpu:1}
mem: ${request_mem:1536}
max_cpu: 1
max_mem: 1536
binds:
- /:/rootfs:ro
- /netdata/dice-ops/dice-config/certificates:/netdata/dice-ops/dice-config/certificates:ro
deployments:
replicas: 1
labels:
GROUP: spot-v2
PRIVILEGED: "true"
health_check:
exec:
cmd: ps aux | grep telegraf || exit 1
duration: 120
telegraf-edge:
resources:
cpu: ${request_cpu:0.5}
mem: ${request_mem:512}
max_cpu: 0.5
max_mem: 512
network:
mode: host
deployments:
workload: per_node
replicas: 1
labels:
GROUP: spot-v2
PRIVILEGED: true
health_check:
exec:
cmd: 'ps aux | grep telegraf || exit 1'
duration: 120
binds:
- /:/rootfs:ro
- /tmp:/rootfs/tmp:rw
- /run/udev:/run/udev:ro
envs:
HOST_ETC: /rootfs/etc
HOST_SYS: /rootfs/sys
HOST_PROC: /rootfs/proc
HPROF_OUTPUT_PATH: /rootfs/tmp
CLUSTER_PATH: /rootfs/etc/cluster-node
SADC_PATH: /usr/lib64/sa/sadc
HOST_MOUNT_PREFIX: /rootfs
SADF_PATH: /usr/bin/sadf
INPUT_METASERVER_FIELD_KEYS: '[''DICE_*'', ''N?_DICE_*'', ''EDAS_*'', ''TERMINUS_DEFINE_TAG'', ''POD_IP'', ''io.kubernetes.pod.name'', ''io.kubernetes.pod.namespace'']'
INPUT_DOCKER_TAG_KEYS: '[''DICE_*'', ''N?_DICE_*'', ''EDAS_*'', ''ADDON_ID'', ''N?_ADDON_ID'', ''TERMINUS_KEY'', ''TERMINUS_DEFINE_TAG'', ''MESOS_TASK_ID'', ''POD_IP'', ''io.kubernetes.pod.name'', ''io.kubernetes.pod.namespace'']'
COLLECTOR_AUTH_USERNAME: "collector"
COLLECTOR_AUTH_PASSWORD: "G$9767bP32drYFPWrK4XMLRMTatiM6cU"
TELEGRAF_CONFIG: "telegraf-edge"
telegraf-app-edge:
resources:
cpu: ${request_cpu:0.5}
mem: ${request_mem:512}
max_cpu: 0.5
max_mem: 512
network:
mode: host
deployments:
workload: per_node
replicas: 1
labels:
GROUP: spot-v2
PRIVILEGED: true
health_check:
exec:
cmd: 'ps aux | grep telegraf || exit 1'
duration: 120
binds:
- /:/rootfs:ro
envs:
TELEGRAF_CONFIG: "telegraf-app-edge"
CLUSTER_PATH: /rootfs/etc/cluster-node
COLLECTOR_AUTH_USERNAME: "collector"
COLLECTOR_AUTH_PASSWORD: "G$9767bP32drYFPWrK4XMLRMTatiM6cU"
addons:
infos:
plan: "custom:basic"
options:
version: "1.0.0"