2020-11-18 17:32:52 +08:00
# Copyright (C) 2019-2020 Zilliz. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
# or implied. See the License for the specific language governing permissions and limitations under the License.
2021-09-23 16:38:24 +08:00
# Related configuration of etcd, used to store Milvus metadata.
2020-11-20 17:10:24 +08:00
etcd :
2021-06-11 22:04:41 +08:00
endpoints :
- localhost:2379
2020-11-20 17:10:24 +08:00
rootPath : by-dev
2020-11-28 19:06:48 +08:00
metaSubPath : meta # metaRootPath = rootPath + '/' + metaSubPath
kvSubPath : kv # kvRootPath = rootPath + '/' + kvSubPath
2021-06-21 11:40:15 +08:00
segmentBinlogSubPath : datacoord/binlog/segment # Full Path = rootPath/metaSubPath/segmentBinlogSubPath
collectionBinlogSubPath : datacoord/binlog/collection # Full Path = rootPath/metaSubPath/collectionBinglogSubPath
flushStreamPosSubPath : datacoord/flushstream # Full path = rootPath/metaSubPath/flushStreamPosSubPath
statsStreamPosSubPath : datacoord/statsstream # Full path = rootPath/metaSubPath/statsStreamPosSubPath
2020-11-19 10:46:17 +08:00
2021-09-24 18:40:13 +08:00
# Related configuration of minio, which is responsible for data persistence for Milvus.
2020-12-08 14:41:04 +08:00
minio :
address : localhost
port : 9000
accessKeyID : minioadmin
secretAccessKey : minioadmin
useSSL : false
2020-12-26 16:28:55 +08:00
bucketName : "a-bucket"
2021-09-24 20:50:23 +08:00
rootPath : files
2020-12-08 14:41:04 +08:00
2020-11-20 17:10:24 +08:00
pulsar :
address : localhost
port : 6650
2021-04-13 10:04:39 +08:00
maxMessageSize : 5242880 # 5 * 1024 * 1024 Bytes
2020-11-19 10:46:17 +08:00
2021-06-25 19:44:11 +08:00
rocksmq :
path : /var/lib/milvus/rdb_data
2021-08-16 18:46:10 +08:00
retentionTimeInMinutes : 4320
retentionSizeInMB : 0
2021-06-25 19:44:11 +08:00
2021-06-22 19:08:03 +08:00
rootCoord :
2020-11-20 17:10:24 +08:00
address : localhost
port : 53100
2020-11-19 10:46:17 +08:00
2021-08-04 13:03:24 +08:00
grpc :
serverMaxRecvSize : 2147483647 # math.MaxInt32
serverMaxSendSize : 2147483647 # math.MaxInt32
clientMaxRecvSize : 104857600 # 100 MB, 100 * 1024 * 1024
clientMaxSendSize : 104857600 # 100 MB, 100 * 1024 * 1024
2021-06-22 19:08:03 +08:00
proxy :
2021-03-04 22:27:12 +08:00
port : 19530
2020-11-20 17:10:24 +08:00
2021-08-04 13:03:24 +08:00
grpc :
serverMaxRecvSize : 2147483647 # math.MaxInt32
serverMaxSendSize : 2147483647 # math.MaxInt32
clientMaxRecvSize : 104857600 # 100 MB, 100 * 1024 * 1024
clientMaxSendSize : 104857600 # 100 MB, 100 * 1024 * 1024
2021-06-22 16:44:09 +08:00
queryCoord :
2021-01-22 14:28:06 +08:00
address : localhost
port : 19531
2021-08-04 13:03:24 +08:00
grpc :
serverMaxRecvSize : 2147483647 # math.MaxInt32
serverMaxSendSize : 2147483647 # math.MaxInt32
clientMaxRecvSize : 104857600 # 100 MB, 100 * 1024 * 1024
clientMaxSendSize : 104857600 # 100 MB, 100 * 1024 * 1024
2020-11-20 17:10:24 +08:00
queryNode :
2021-09-28 22:24:03 +08:00
cacheSize : 32 # GB, default 32 GB, `cacheSize` is the memory used for caching data for faster query. The `cacheSize` must be less than system memory size.
2021-04-24 15:53:37 +08:00
gracefulTime : 1000 # ms, for search
2021-02-23 18:08:17 +08:00
port : 21123
2021-01-19 18:32:57 +08:00
2021-08-04 13:03:24 +08:00
grpc :
serverMaxRecvSize : 2147483647 # math.MaxInt32
serverMaxSendSize : 2147483647 # math.MaxInt32
clientMaxRecvSize : 104857600 # 100 MB, 100 * 1024 * 1024
clientMaxSendSize : 104857600 # 100 MB, 100 * 1024 * 1024
2021-06-22 19:08:03 +08:00
indexCoord :
2021-01-19 18:32:57 +08:00
address : localhost
2021-01-26 09:38:40 +08:00
port : 31000
2021-01-24 21:20:11 +08:00
2021-08-04 13:03:24 +08:00
grpc :
serverMaxRecvSize : 2147483647 # math.MaxInt32
serverMaxSendSize : 2147483647 # math.MaxInt32
clientMaxRecvSize : 104857600 # 100 MB, 100 * 1024 * 1024
clientMaxSendSize : 104857600 # 100 MB, 100 * 1024 * 1024
2021-02-23 18:08:17 +08:00
indexNode :
port : 21121
2021-08-04 13:03:24 +08:00
grpc :
serverMaxRecvSize : 2147483647 # math.MaxInt32
serverMaxSendSize : 2147483647 # math.MaxInt32
clientMaxRecvSize : 104857600 # 100 MB, 100 * 1024 * 1024
clientMaxSendSize : 104857600 # 100 MB, 100 * 1024 * 1024
2021-06-21 18:22:13 +08:00
dataCoord :
2021-01-26 15:13:20 +08:00
address : localhost
port : 13333
2021-08-04 13:03:24 +08:00
grpc :
serverMaxRecvSize : 2147483647 # math.MaxInt32
serverMaxSendSize : 2147483647 # math.MaxInt32
clientMaxRecvSize : 104857600 # 100 MB, 100 * 1024 * 1024
clientMaxSendSize : 104857600 # 100 MB, 100 * 1024 * 1024
2021-01-24 21:20:11 +08:00
dataNode :
port : 21124
2021-02-19 15:37:04 +08:00
2021-08-04 13:03:24 +08:00
grpc :
serverMaxRecvSize : 2147483647 # math.MaxInt32
serverMaxSendSize : 2147483647 # math.MaxInt32
clientMaxRecvSize : 104857600 # 100 MB, 100 * 1024 * 1024
clientMaxSendSize : 104857600 # 100 MB, 100 * 1024 * 1024
2021-09-22 19:23:59 +08:00
# Configure whether to store the vector and the local path when querying/searching in Querynode.
2021-08-18 16:30:11 +08:00
localStorage :
2021-07-09 11:44:40 +08:00
path : /var/lib/milvus/data/
2021-08-18 16:30:11 +08:00
enabled : true
2021-07-09 11:44:40 +08:00
2021-09-09 18:48:02 +08:00
# Configures the system log output.
2021-02-19 15:37:04 +08:00
log :
2021-06-19 12:38:06 +08:00
level : debug # info, warn, error, panic, fatal
2021-02-19 15:37:04 +08:00
file :
2021-04-13 10:04:39 +08:00
rootPath : "" # default to stdout, stderr
2021-02-19 15:37:04 +08:00
maxSize : 300 # MB
maxAge : 10 # day
maxBackups : 20
2021-03-16 21:30:44 +08:00
format : text # text/json
2021-09-26 19:46:17 +08:00
msgChannel :
# channel name generation rule: ${namePrefix}-${ChannelIdx}
chanNamePrefix :
cluster : "by-dev"
rootCoordTimeTick : "rootcoord-timetick"
rootCoordStatistics : "rootcoord-statistics"
rootCoordDml : "rootcoord-dml"
search : "search"
searchResult : "searchResult"
proxyTimeTick : "proxyTimeTick"
queryTimeTick : "queryTimeTick"
queryNodeStats : "query-node-stats"
# cmd for loadIndex, flush, etc...
cmd : "cmd"
dataCoordInsertChannel : "insert-channel-"
dataCoordStatistic : "datacoord-statistics-channel"
dataCoordTimeTick : "datacoord-timetick-channel"
dataCoordSegmentInfo : "segment-info-channel"
# sub name generation rule: ${subNamePrefix}-${NodeID}
subNamePrefix :
rootCoordSubNamePrefix : "rootCoord"
proxySubNamePrefix : "proxy"
queryNodeSubNamePrefix : "queryNode"
dataNodeSubNamePrefix : "dataNode"
dataCoordSubNamePrefix : "dataCoord"
common :
defaultPartitionName : "_default" # default partition name for a collection
defaultIndexName : "_default_idx" # default index name