Skip to content

Commit 677e9d1

Browse files
author
zengqiao
committed
Helm调整
1 parent c63fb83 commit 677e9d1

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

km-dist/helm/templates/configmap.yaml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,17 @@ data:
7878
thread-pool:
7979
scheduled:
8080
thread-num: 2 # @Scheduled任务的线程池大小,默认是一个
81-
collector:
82-
future-util:
83-
num: 1
84-
thread-num: 8
85-
queue-size: 10000
86-
select-suitable-enable: true
87-
suitable-queue-size: 1000
88-
task:
89-
heaven:
90-
thread-num: 20
91-
queue-size: 1000
81+
collector: # 采集模块的配置
82+
future-util: # 采集模块线程池配置
83+
num: 3 # 线程池个数
84+
thread-num: 64 # 每个线程池核心线程数
85+
queue-size: 10000 # 每个线程池队列大小
86+
select-suitable-enable: true # 任务是否自动选择合适的线程池,非主要,可不修改
87+
suitable-queue-size: 1000 # 线程池理想的队列大小,非主要,可不修改
88+
task: # 任务模块的配置
89+
heaven: # 采集任务配置
90+
thread-num: 20 # 采集任务线程池核心线程数
91+
queue-size: 1000 # 采集任务线程池队列大小
9292
9393
9494
@@ -118,6 +118,9 @@ data:
118118
base-path: /metrics
119119
exposure:
120120
include: '*'
121+
health:
122+
elasticsearch:
123+
enabled: false
121124
metrics:
122125
export:
123126
prometheus:

0 commit comments

Comments
 (0)