Skip to content
This repository was archived by the owner on Aug 16, 2023. It is now read-only.

Commit 2b9dfeb

Browse files
authored
Add more config for milvus components (#374)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com> Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
1 parent fe50baf commit 2b9dfeb

4 files changed

Lines changed: 18 additions & 1 deletion

File tree

charts/milvus/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: milvus
33
appVersion: "2.1.4"
44
kubeVersion: "^1.10.0-0"
55
description: Milvus is an open-source vector database built to power AI applications and vector similarity search.
6-
version: 3.2.5
6+
version: 3.2.6
77
keywords:
88
- milvus
99
- elastic

charts/milvus/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ The following table lists the configurable parameters of the Milvus Data Coordin
364364
| `dataCoordinator.heaptrack.enabled` | Whether to enable heaptrack | `false` |
365365
| `dataCoordinator.profiling.enabled` | Whether to enable live profiling | `false` |
366366
| `dataCoordinator.segment.maxSize` | Maximum size of a segment in MB | `512` |
367+
| `dataCoordinator.segment.diskSegmentMaxSize` | Maximum size of a segment in MB for disk index collection | `2048` |
367368
| `dataCoordinator.segment.sealProportion` | Minimum proportion for a segment which can be sealed | `0.25` |
368369
| `dataCoordinator.segment.maxLife` | Maximum lifetime of a segment in seconds | `3600` |
369370
| `dataCoordinator.extraEnv` | Additional Milvus Data Coordinator container environment variables | `[]` |

charts/milvus/templates/config.tpl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,13 @@ queryCoord:
193193
overloadedMemoryThresholdPercentage: 90
194194
balanceIntervalSeconds: 60
195195
memoryUsageMaxDifferencePercentage: 30
196+
checkInterval: "{{ .Values.queryCoordinator.checkInterval }}"
197+
channelTaskTimeout: "{{ .Values.queryCoordinator.channelTaskTimeout }}"
198+
segmentTaskTimeout: "{{ .Values.queryCoordinator.segmentTaskTimeout }}"
199+
distPullInterval: "{{ .Values.queryCoordinator.distPullInterval }}"
200+
loadTimeoutSeconds: "{{ .Values.queryCoordinator.loadTimeoutSeconds }}"
201+
checkHandoffInterval: "{{ .Values.queryCoordinator.checkHandoffInterval }}"
202+
taskMergeCap: "{{ .Values.queryCoordinator.taskMergeCap }}"
196203

197204
queryNode:
198205
port: 21123
@@ -267,6 +274,7 @@ dataCoord:
267274

268275
segment:
269276
maxSize: "{{ .Values.dataCoordinator.segment.maxSize }}" # Maximum size of a segment in MB
277+
diskSegmentMaxSize: "{{ .Values.dataCoordinator.segment.diskSegmentMaxSize }}" # Maximum size of segment in MB for disk index collection
270278
sealProportion: "{{ .Values.dataCoordinator.segment.sealProportion }}" # It's the minimum proportion for a segment which can be sealed
271279
assignmentExpiration: 2000 # The time of the assignment expiration in ms
272280
maxLife: "{{ .Values.dataCoordinator.segment.maxLife }}" # The max lifetime of segment in seconds, 60*60

charts/milvus/values.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,13 @@ queryCoordinator:
369369

370370
autoHandoff: true # Enable auto handoff
371371
autoBalance: true # Disable auto balance
372+
checkInterval: 1000 # 1000ms
373+
channelTaskTimeout: 60000 # 1 minute
374+
segmentTaskTimeout: 120000 # 2 minute
375+
distPullInterval: 500 # 500ms
376+
loadTimeoutSeconds: 600
377+
checkHandoffInterval: 5000 # 5000ms
378+
taskMergeCap: 8
372379

373380
queryNode:
374381
enabled: true
@@ -459,6 +466,7 @@ dataCoordinator:
459466

460467
segment:
461468
maxSize: 512 # Maximum size of a segment in MB
469+
diskSegmentMaxSize: 2048 # Maximum segment size in MB for disk index collection
462470
sealProportion: 0.25 # Minimum proportion for a segment which can be sealed
463471
maxLife: 3600 # The max lifetime of segment in seconds, 24*60*60
464472

0 commit comments

Comments
 (0)