forked from erda-project/erda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
erda.yml
745 lines (745 loc) · 20.9 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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
version: "2.0"
meta:
ERDA_COMPONENT: ""
values:
development:
request_cpu: 0.1
request_mem: 128
replicas: 1
test:
request_cpu: 0.1
request_mem: 128
log_service_replicas: 1
production:
nfs_root: "<%$.Storage.MountPoint%>"
gittar_root: "<%$.Storage.GittarDataPath%>"
replicas: 2
request_cpu: 0.1
request_mem: 128
envs:
ETCDCTL_API: "3"
MONITOR_ADDR: monitor:7096
COLLECTOR_ADDR: collector:7076
PIPELINE_ADDR: pipeline:3081
ERDA_SERVER_ADDR: erda-server:9095
MSP_ADDR: msp:8080
DOP_ADDR: dop:9527
CORE_SERVICES_ADDR: core-services:9526
OPENAPI_ADDR: openapi:9529
CMP_ADDR: cmp:9027
ORCHESTRATOR_ADDR: orchestrator:8081
DICEHUB_ADDR: dicehub:10000
OTEL_TRACES_ENABLED: false
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: http://collector:7076/api/otlp/v1/traces
OTEL_TRACES_SAMPLER_ARG: 0.1
CLUSTER_MANAGER_ADDR: cluster-manager:9094
services:
action-runner-scheduler:
cmd: /erda/cmd/action-runner-scheduler/bin
ports:
- port: 9500
protocol: "TCP"
l4_protocol: "TCP"
resources:
cpu: ${request_cpu:0.3}
max_cpu: 0.3
mem: 128
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
deployments:
replicas: 1
labels:
GROUP: "devops"
health_check:
http:
port: 9500
path: "/healthz"
duration: 120
exec: { }
expose: [ ]
hosts: [ ]
envs: { }
dop:
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
cmd: /erda/cmd/dop/bin
deployments:
labels:
GROUP: "devops"
replicas: ${replicas:1}
envs:
DEBUG: "true"
GOLANG_PROTOBUF_REGISTRATION_CONFLICT: "ignore"
health_check:
exec: { }
http:
duration: 120
path: /_api/health
port: 9527
ports:
- port: 9527 # http port
protocol: "TCP"
l4_protocol: "TCP"
- port: 9529 # grpc port
protocol: "TCP"
l4_protocol: "TCP"
resources:
cpu: ${request_cpu:1}
max_cpu: 1
mem: ${request_mem:2048}
max_mem: 2048
network:
mode: container
erda-server:
cmd: /erda/cmd/erda-server/bin
envs:
DEBUG: "false"
ports:
- port: 9095
protocol: TCP
l4_protocol: TCP
- port: 8096
protocol: TCP
l4_protocol: TCP
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
resources:
cpu: ${request_cpu:0.2}
max_cpu: 0.2
mem: ${request_mem:128}
max_mem: 256
network:
mode: "container"
deployments:
replicas: 1
labels:
GROUP: "dice"
health_check:
http:
port: 9095
path: "/api/healthy"
duration: 120
exec: { }
core-services:
cmd: /erda/cmd/core-services/bin
ports:
- port: 9526
protocol: "TCP"
l4_protocol: "TCP"
- port: 9536 # new http port
protocol: "TCP"
l4_protocol: "TCP"
- port: 9537 # new grpc port
protocol: "TCP"
l4_protocol: "TCP"
envs:
AVATAR_STORAGE_URL: "file:///avatars"
CMDB_CONTAINER_TOPIC: "spot-metaserver_container"
CMDB_GROUP: "spot_cmdb_group"
CMDB_HOST_TOPIC: "spot-metaserver_host"
DEBUG: "false"
LICENSE_KEY: "XWoPm8I3FZuDclhuOhZ+qRPVHjXKCwSgZEOTyrMgtJg6f0Kz7QR0CyVN1ZWgbiou/OyABe7HyK1yVxDdeP1JuXcfOoGOdChTyiQfP5sdXUbferq5UkK7S44lMjNmzURlbdX8smSa13+8FQyDqz2BpDcBKMRfn2kKuF4n6n9Ls7HyVV7oWSKreEyIH3991Ug2grNEpcKip3ISVY7eGJ3uoahC9zs4fla1dzR47e5dgppHtf5WBjFgiSS+5qRi2mYa"
LISTEN_ADDR: ":9526"
UC_CLIENT_ID: "dice"
UC_CLIENT_SECRET: "secret"
CREATE_ORG_ENABLED: "false"
resources:
cpu: ${request_cpu:1}
max_cpu: 1
mem: ${request_mem:2048}
max_mem: 2048
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
- "${nfs_root:/netdata}/avatars:/avatars:rw"
- "${nfs_root:/netdata}/dice/cmdb/files:/files:rw"
deployments:
replicas: 1
labels:
GROUP: "dice"
health_check:
http:
port: 9526
path: "/_api/health"
duration: 120
exec: { }
cluster-manager:
cmd: /erda/cmd/cluster-manager/bin
ports:
- port: 9094
protocol: "TCP"
l4_protocol: "TCP"
- port: 9095
protocol: "TCP"
l4_protocol: "TCP"
envs:
DEBUG: "false"
resources:
cpu: ${request_cpu:2}
max_cpu: 2
mem: ${request_mem:2048}
max_mem: 2048
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
deployments:
replicas: ${replicas:2}
labels:
GROUP: "dice"
health_check:
http: { }
exec: { }
cluster-agent:
cmd: /erda/cmd/cluster-agent/bin
ports: [ ]
envs:
DEBUG: "false"
resources:
cpu: ${request_cpu:1}
max_cpu: 1
mem: ${request_mem:1024}
max_mem: 1024
network:
mode: "container"
deployments:
replicas: 1
labels:
GROUP: "dice"
health_check:
http: { }
exec:
cmd: "ls"
k8s_snippet:
container:
securityContext:
privileged: true
monitor-agent-injector:
cmd: /erda/cmd/monitor/agent-injector/bin
ports:
- port: 8443
protocol: "TCP"
l4_protocol: "TCP"
- port: 8080
protocol: "TCP"
l4_protocol: "TCP"
- port: 7080
protocol: "TCP"
l4_protocol: "TCP"
envs:
DEBUG: "false"
resources:
cpu: ${request_cpu:0.5}
max_cpu: 0.5
mem: ${request_mem:1024}
max_mem: 1024
network:
mode: "container"
deployments:
replicas: 1
labels:
GROUP: "dice"
health_check:
http:
port: 8080
path: "/health"
duration: 120
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/erda:/etc/server/certs:ro"
collector:
labels:
cpu_bound: "true"
cmd: /erda/cmd/monitor/collector/bin
ports:
- port: 7076
protocol: "TCP"
l4_protocol: "TCP"
expose: true
- port: 7098
protocol: "TCP"
l4_protocol: "TCP"
envs:
GOLANG_PROTOBUF_REGISTRATION_CONFLICT: "ignore"
COLLECTOR_BROWSER_SAMPLING_RATE: "100"
COLLECTOR_ENABLE: "true"
resources:
cpu: ${request_cpu:1}
mem: ${request_mem:1024}
max_cpu: 1
max_mem: 1024
network:
mode: "container"
deployments:
replicas: ${replicas:2}
labels:
GROUP: "spot-v2"
expose:
- 7076
health_check:
http:
port: 7076
path: "/api/health"
duration: 120
exec: { }
hosts: [ ]
binds: [ ]
dicehub:
cmd: /erda/cmd/dicehub/bin
ports:
- port: 10000
protocol: "TCP"
l4_protocol: "TCP"
- port: 7080
protocol: "TCP"
l4_protocol: "TCP"
envs:
EXTENSION_MENU: "{\"流水线任务\":[\"source_code_management:代码管理\",\"build_management:构建管理\",\"deploy_management:部署管理\",\"version_management:版本管理\",\"test_management:测试管理\",\"data_management:数据治理\",\"custom_task:自定义任务\"],\"扩展服务\":[\"database:存储\",\"distributed_cooperation:分布式协作\",\"search:搜索\",\"message:消息\",\"content_management:内容管理\",\"security:安全\",\"traffic_load:流量负载\",\"monitoring&logging:监控&日志\",\"content:文本处理\",\"image_processing:图像处理\",\"document_processing:文件处理\",\"sound_processing:音频处理\",\"custom:自定义\",\"general_ability:通用能力\",\"new_retail:新零售能力\",\"srm:采供能力\",\"solution:解决方案\"]}"
RELEASE_GC_SWITCH: "true"
RELEASE_MAX_TIME_RESERVED: "72"
resources:
cpu: ${request_cpu:0.15}
max_cpu: 0.15
mem: ${request_mem:1024}
max_mem: 1024
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
deployments:
replicas: ${replicas:1}
labels:
GROUP: "dice"
health_check:
http:
port: 10000
path: "/healthz"
duration: 120
exec: { }
gittar:
cmd: /erda/cmd/gittar/bin
ports:
- port: 5566
protocol: "TCP"
l4_protocol: "TCP"
expose: true
envs:
GITTAR_BRANCH_FILTER: "master,develop,feature/*,support/*,release/*,hotfix/*"
GITTAR_PORT: "5566"
UC_CLIENT_ID: "dice"
UC_CLIENT_SECRET: "secret"
resources:
cpu: ${request_cpu:1}
max_cpu: 1
mem: ${request_mem:1536}
max_mem: 1536
network:
mode: "container"
binds:
- "${gittar_root:/netdata/dice/gittar}:/repository:rw"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
deployments:
replicas: 1
labels:
GROUP: "devops"
expose:
- 5566
health_check:
http: { }
exec: { }
hepa:
cmd: /erda/cmd/hepa/bin
ports:
- port: 8080
protocol: "TCP"
l4_protocol: "TCP"
expose: true
resources:
cpu: ${request_cpu:0.5}
mem: 512
max_cpu: 0.5
network:
mode: "container"
deployments:
replicas: ${replicas:1}
labels:
GROUP: "addons"
expose:
- 8080
health_check:
http:
port: 8080
path: "/health"
duration: 120
exec: { }
monitor:
cmd: /erda/cmd/monitor/monitor/bin
ports:
- port: 7096
protocol: "TCP"
l4_protocol: "TCP"
- port: 7098
protocol: "TCP"
l4_protocol: "TCP"
- port: 7080
protocol: "TCP"
l4_protocol: "TCP"
envs:
LOG_LEVEL: INFO
resources:
cpu: ${request_cpu:0.5}
mem: ${request_mem:512}
max_cpu: 1
max_mem: 1024
network:
mode: "container"
deployments:
replicas: ${replicas:2}
labels:
GROUP: "spot-v2"
health_check:
http:
port: 7096
path: "/api/health"
duration: 120
exec: { }
expose: [ ]
hosts: [ ]
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
msp:
cmd: /erda/cmd/msp/bin
ports:
- port: 8080
protocol: "TCP"
l4_protocol: "TCP"
- port: 7080
protocol: "TCP"
l4_protocol: "TCP"
- port: 9080
protocol: "TCP"
l4_protocol: "TCP"
envs:
GOLANG_PROTOBUF_REGISTRATION_CONFLICT: "ignore"
resources:
cpu: ${request_cpu:1}
mem: ${request_mem:512}
max_cpu: 1
max_mem: 1024
network:
mode: "container"
deployments:
replicas: ${replicas:2}
labels:
GROUP: "msp"
health_check:
http:
port: 8080
path: "/health"
duration: 120
exec: { }
expose: [ ]
hosts: [ ]
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
openapi:
cmd: /erda/cmd/openapi/bin
ports:
- port: 9529
protocol: "TCP"
l4_protocol: "TCP"
expose: true
- port: 9432
protocol: "TCP"
l4_protocol: "TCP"
- port: 9431
protocol: "TCP"
l4_protocol: "TCP"
envs:
CREATE_ORG_ENABLED: "false"
GOLANG_PROTOBUF_REGISTRATION_CONFLICT: "ignore"
resources:
cpu: ${request_cpu:0.5}
max_cpu: 0.5
mem: ${request_mem:512}
max_mem: 512
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
deployments:
replicas: ${replicas:1}
labels:
GROUP: "dice"
expose:
- 9529
health_check:
http:
port: 9529
path: "/health"
duration: 120
exec: { }
ecp:
cmd: /erda/cmd/ecp/bin
ports:
- port: 9029
protocol: "TCP"
l4_protocol: "TCP"
resources:
cpu: ${request_cpu:0.2}
max_cpu: 0.2
mem: 128
network:
mode: "container"
deployments:
replicas: 1
labels:
GROUP: "dice"
health_check:
http: { }
exec: { }
cmp:
cmd: /erda/cmd/cmp/bin
envs:
UC_CLIENT_ID: "dice"
UC_CLIENT_SECRET: "secret"
ERDA_NAMESPACE: "default"
ERDA_HELM_CHART_VERSION: "1.1.0"
ports:
- port: 9027
protocol: "TCP"
l4_protocol: "TCP"
- port: 9028
protocol: "TCP"
l4_protocol: "TCP"
- port: 9029
protocol: "TCP"
l4_protocol: "TCP"
resources:
cpu: ${request_cpu:1}
max_cpu: 1
mem: ${request_mem:2048}
max_mem: 2048
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
deployments:
replicas: ${replicas:1}
labels:
GROUP: "dice"
health_check:
http: { }
exec: { }
orchestrator:
cmd: /erda/cmd/orchestrator/bin
ports:
- port: 8081
protocol: "TCP"
l4_protocol: "TCP"
- port: 7080
protocol: "TCP"
l4_protocol: "TCP"
envs:
DEBUG: "false"
TENANT_GROUP_KEY: "58dcbf490ef3"
MSP_ADDR: "msp:8080"
COLLECTOR_SIDECAR_IMAGE: "registry.erda.cloud/erda/erda-fluent-bit:2.1-alpha-20220329155354-3fcba88"
resources:
cpu: ${request_cpu:1}
max_cpu: 1
mem: ${request_mem:256}
max_mem: 2048
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
deployments:
replicas: ${replicas:1}
labels:
GROUP: "dice"
health_check:
http:
port: 8081
path: "/info"
duration: 120
exec: { }
pipeline:
cmd: /erda/cmd/pipeline/bin
ports:
- port: 3081
protocol: "TCP"
l4_protocol: "TCP"
- port: 30810
protocol: "TCP"
l4_protocol: "TCP"
envs:
DEBUG: "false"
PIPELINE_STORAGE_URL: "file:///devops/storage"
resources:
cpu: ${request_cpu:1}
max_cpu: 1
mem: ${request_mem:1536}
max_mem: 1536
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
deployments:
replicas: ${replicas:2}
labels:
GROUP: "devops"
health_check:
http:
port: 3081
path: "/ping"
duration: 120
exec: { }
streaming:
labels:
cpu_bound: "true"
cmd: /erda/cmd/monitor/streaming/bin
ports:
- port: 7091
protocol: "TCP"
l4_protocol: "TCP"
- port: 7098
protocol: "TCP"
l4_protocol: "TCP"
envs:
BROWSER_ENABLE: "true"
BROWSER_GROUP_ID: "spot-monitor-browser"
LOG_GROUP_ID: "spot-monitor-log"
LOG_STORE_ENABLE: "true"
LOG_TTL: "168h"
METRIC_ENABLE: "true"
METRIC_GROUP_ID: "spot-monitor-metrics"
METRIC_INDEX_TTL: "192h"
TRACE_ENABLE: "true"
TRACE_GROUP_ID: "spot-monitor-trace"
TRACE_TTL: "168h"
LOG_LEVEL: INFO
EVENT_GROUP_ID: "spot-monitor-event"
ENTITY_GROUP_ID: "spot-monitor-entity"
resources:
cpu: ${request_cpu:0.5}
mem: ${request_mem:1024}
max_cpu: 1.5
max_mem: 2048
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
deployments:
replicas: ${replicas:2}
labels:
GROUP: "spot-v2"
health_check:
http:
port: 7091
path: "/api/health"
duration: 120
exec: { }
log-service:
cmd: /erda/cmd/monitor/log-service/bin
ports:
- port: 7099
protocol: "TCP"
l4_protocol: "TCP"
envs:
LOG_SERVICE_INSTANCE_ID: "30563290-f3a8-4f8f-b42b-cc5d3b8ac7c7"
LOG_KAFKA_TOPICS: "spot-container-log"
LOG_TOPICS: "spot-container-log"
LOG_METRICS_GROUP_ID: "spot-log-metrics"
#LOGS_ES_URL: ""
#LOGS_ES_SECURITY_ENABLE: "false"
#LOGS_ES_SECURITY_USERNAME: ""
#LOGS_ES_SECURITY_PASSWORD: ""
resources:
cpu: ${request_cpu:1}
mem: ${request_mem:1024}
max_cpu: 1.5
max_mem: 1024
network:
mode: "container"
deployments:
replicas: ${log_service_replicas:0}
labels:
GROUP: "spot-v2"
health_check:
http:
port: 7099
path: "/api/health"
duration: 120
exec: { }
uc-adaptor:
cmd: /erda/cmd/uc-adaptor/bin
ports:
- port: 12580
protocol: "TCP"
l4_protocol: "TCP"
expose: false
envs:
DEBUG: "false"
LISTEN_ADDR: ":12580"
UC_AUDITOR_CRON: "0 */1 * * * ?"
UC_AUDITOR_PULL_SIZE: "30"
UC_CLIENT_ID: "dice"
UC_CLIENT_SECRET: "secret"
resources:
cpu: ${request_cpu:0.2}
max_cpu: 0.2
mem: 64
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
deployments:
replicas: 1
labels:
GROUP: "devops"
health_check:
http:
port: 12580
path: "/healthy"
duration: 120
exec: { }
addons:
infos:
plan: "custom:basic"
options:
version: "1.0.0"
mysql:
plan: "mysql:basic"