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

Commit 06d1f30

Browse files
authored
Update milvus.yaml params (#377)
Signed-off-by: Bennu-Li <yunmei.li@zilliz.com> Signed-off-by: Bennu-Li <yunmei.li@zilliz.com>
1 parent 13efae3 commit 06d1f30

File tree

3 files changed

+35
-16
lines changed

3 files changed

+35
-16
lines changed

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.9
6+
version: 3.2.10
77
keywords:
88
- milvus
99
- elastic

charts/milvus/templates/config.tpl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,9 @@ quotaAndLimits:
419419
dataNodeMemoryHighWaterLevel: {{ .Values.quotaAndLimits.limitWriting.memProtection.dataNodeMemoryHighWaterLevel }}
420420
queryNodeMemoryLowWaterLevel: {{ .Values.quotaAndLimits.limitWriting.memProtection.queryNodeMemoryLowWaterLevel }}
421421
queryNodeMemoryHighWaterLevel: {{ .Values.quotaAndLimits.limitWriting.memProtection.queryNodeMemoryHighWaterLevel }}
422+
diskProtection:
423+
enabled: {{ .Values.quotaAndLimits.limitWriting.diskProtection.enabled }}
424+
diskQuota: {{ .Values.quotaAndLimits.limitWriting.diskProtection.diskQuota }}
422425

423426
limitReading:
424427
forceDeny: {{ .Values.quotaAndLimits.limitReading.forceDeny }}
@@ -427,6 +430,11 @@ quotaAndLimits:
427430
enabled: {{ .Values.quotaAndLimits.limitReading.queueProtection.enabled }}
428431
nqInQueueThreshold: {{ .Values.quotaAndLimits.limitReading.queueProtection.nqInQueueThreshold }}
429432
queueLatencyThreshold: {{ .Values.quotaAndLimits.limitReading.queueProtection.queueLatencyThreshold }}
430-
coolOffSpeed: {{ .Values.quotaAndLimits.limitReading.queueProtection.coolOffSpeed }}
433+
434+
resultProtection:
435+
enabled: {{ .Values.quotaAndLimits.limitReading.resultProtection.enabled }}
436+
maxReadResultRate: {{ .Values.quotaAndLimits.limitReading.resultProtection.maxReadResultRate }}
437+
438+
coolOffSpeed: {{ .Values.quotaAndLimits.limitReading.coolOffSpeed }}
431439

432440
{{- end }}

charts/milvus/values.yaml

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -179,38 +179,38 @@ quotaAndLimits:
179179

180180
ddl: # ddl limit rates, default no limit.
181181
enabled: false
182-
collectionRate: # qps, default no limit, rate for CreateCollection, DropCollection, LoadCollection, ReleaseCollection
183-
partitionRate: # qps, default no limit, rate for CreatePartition, DropPartition, LoadPartition, ReleasePartition
182+
collectionRate: -1 # qps, default no limit, rate for CreateCollection, DropCollection, LoadCollection, ReleaseCollection
183+
partitionRate: -1 # qps, default no limit, rate for CreatePartition, DropPartition, LoadPartition, ReleasePartition
184184

185185
indexRate:
186186
enabled: false
187-
max: # qps, default no limit, rate for CreateIndex, DropIndex
187+
max: -1 # qps, default no limit, rate for CreateIndex, DropIndex
188188
flushRate:
189189
enabled: false
190-
max: # qps, default no limit, rate for flush
190+
max: -1 # qps, default no limit, rate for flush
191191
compactionRate:
192192
enabled: false
193-
max: # qps, default no limit, rate for manualCompaction
193+
max: -1 # qps, default no limit, rate for manualCompaction
194194

195195
# dml limit rates, default no limit.
196196
# The maximum rate will not be greater than `max`.
197197
dml:
198198
enabled: false
199199
insertRate:
200-
max: # MB/s, default no limit
200+
max: -1 # MB/s, default no limit
201201
deleteRate:
202-
max: # MB/s, default no limit
202+
max: -1 # MB/s, default no limit
203203
bulkLoadRate: # not support yet. TODO: limit bulkLoad rate
204-
max: # MB/s, default no limit
204+
max: -1 # MB/s, default no limit
205205

206206
# dql limit rates, default no limit.
207207
# The maximum rate will not be greater than `max`.
208208
dql:
209209
enabled: false
210210
searchRate:
211-
max: # vps (vectors per second), default no limit
211+
max: -1 # vps (vectors per second), default no limit
212212
queryRate:
213-
max: # qps, default no limit
213+
max: -1 # qps, default no limit
214214

215215
# limitWriting decides whether dml requests are allowed.
216216
limitWriting:
@@ -233,6 +233,10 @@ quotaAndLimits:
233233
dataNodeMemoryHighWaterLevel: 0.95 # (0, 1], memoryHighWaterLevel in DataNodes
234234
queryNodeMemoryLowWaterLevel: 0.85 # (0, 1], memoryLowWaterLevel in QueryNodes
235235
queryNodeMemoryHighWaterLevel: 0.95 # (0, 1], memoryHighWaterLevel in QueryNodes
236+
diskProtection:
237+
# When the total file size of object storage is greater than `diskQuota`, all dml requests would be rejected;
238+
enabled: true
239+
diskQuota: -1 # GB, (0, +inf), default no limit
236240

237241
# limitReading decides whether dql requests are allowed.
238242
limitReading:
@@ -245,16 +249,23 @@ quotaAndLimits:
245249
# nqInQueueThreshold indicated that the system was under backpressure for Search/Query path.
246250
# If NQ in any QueryNode's queue is greater than nqInQueueThreshold, search&query rates would gradually cool off
247251
# until the NQ in queue no longer exceeds nqInQueueThreshold. We think of the NQ of query request as 1.
248-
nqInQueueThreshold: # int, default no limit
252+
nqInQueueThreshold: -1 # int, default no limit
249253

250254
# queueLatencyThreshold indicated that the system was under backpressure for Search/Query path.
251255
# If dql latency of queuing is greater than queueLatencyThreshold, search&query rates would gradually cool off
252256
# until the latency of queuing no longer exceeds queueLatencyThreshold.
253257
# The latency here refers to the averaged latency over a period of time.
254-
queueLatencyThreshold: # milliseconds, default no limit
258+
queueLatencyThreshold: -1 # milliseconds, default no limit
259+
260+
resultProtection:
261+
enabled: false
262+
# maxReadResultRate indicated that the system was under backpressure for Search/Query path.
263+
# If dql result rate is greater than maxReadResultRate, search&query rates would gradually cool off
264+
# until the read result rate no longer exceeds maxReadResultRate.
265+
maxReadResultRate: -1 # MB/s, default no limit
255266

256-
# coolOffSpeed is the speed of search&query rates cool off.
257-
coolOffSpeed: 0.9 # (0, 1]
267+
# coolOffSpeed is the speed of search&query rates cool off.
268+
coolOffSpeed: 0.9 # (0, 1]
258269

259270
standalone:
260271
replicas: 1 # Run standalone mode with replication disabled

0 commit comments

Comments
 (0)