This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
Standalone System Configurations
Milvus standalone maintains many system variables that configure the operation. All configurations can be set manually before server startup. Each configuration has a default value, which can be used directly.
Log Configurations
This session configures the system log output. Using Milvus generates a collection of logs. By default, Milvus uses logs to record information at debug
or even higher level for standard output (stdout) and standard error (stderr). You can set these configurations in milvus.yaml under milvus/configs directory.
Configuration | Description | Default Value |
---|---|---|
log.level |
Log level in Milvusdebug , info , warn , error , panic , or fatal .
debug level under test and development environments, and info level in production environment.
|
debug |
log.file.rootPath |
Root path to the log files |
"" |
etcd Configurations
etcd is the metadata engine supporting Milvus' metadata storage and access. You can set these configurations in milvus.yaml.
You do not need to change this session if you use the default milvus-standalone-docker-compose.yml for third-party services.
Configuration | Description | Default Value |
---|---|---|
etcd.endpoints |
Endpoints of etcdETCD_ENDPOINTS etcd.endpoints .ETCD_ENDPOINTS when Milvus is booted up. |
localhost:2379 |
etcd.rootPath |
Root of key prefix to etcd |
"by-dev" |
MinIO/S3 Configurations
Milvus supports MinIO and Amazon S3 as the storage engine for data persistence of insert log files and index files. Whereas MinIO is the de facto standard for S3 compatibility, you can configure S3 parameters directly under MinIO
section. You can set these configurations in milvus.yaml under milvus/configs directory.
You do not need to change this session if you use the default milvus-standalone-docker-compose.yml for third-party services.
Configuration | Description | Default Value |
---|---|---|
minio.address |
IP address of MinIO/S3MINIO_ADDRESS minio.address . minio.address and minio.port together generate the valid access to MinIO/S3.MINIO_ADDRESS when Milvus is booted up. |
localhost |
minio.port |
Port of MinIO/S3MINIO_ADDRESS minio.address . minio.address and minio.port together generate the valid access to MinIO/S3.MINIO_ADDRESS when Milvus is booted up. |
9000 |
minio.AccessKeyID |
MinIO/S3 key ID for authorized user accessMINIO_ACCESS_KEY minio.accessKeyID and minio.secretAccessKey together are used for identity authentication to access the MinIO/S3 service.MINIO_ACCESS_KEY , which is necessary for booting up MinIO/S3. The default value applies to the MinIO/S3 service that boots up with the default docker-compose.yml provided by Milvus. |
minioadmin |
minio.secretAccessKey |
MinIO/S3 encryption stringMINIO_SECRET_KEY MINIO_SECRET_KEY , which is necessary for booting up MinIO/S3. The default value applies to the MinIO/S3 service that boots up with the default docker-compose.yml provided by Milvus. |
minioadmin |
Server Address Configurations
This session configures the IP address and port of the monitor request from Milvus. You can set these configurations in milvus.yaml.
Configuration | Description | Default Value |
---|---|---|
proxy.port |
TCP port for monitoring Milvus | 19530 |
System Behavior Configurations
This session configures the system behaviors of Milvus. You can set these configurations in milvus.yaml, root_coord.yaml, data_coord.yaml, and data_node.yaml.
Configuration | Description | Default Value |
---|---|---|
queryNode.gracefulTime |
Minimum time before the newly inserted data can be searchedsearch message timestamp is later than the query node system time, the search message waits for the query node system time to advance until the time difference between them is less than the value set in queryNode.gracefulTime , and then Milvus executes the query demand. |
1000 |
rootcoord.minSegmentSizeToEnableIndex |
The minimum row count in a segment required for creating index |
1024 |
datacoord.segment.maxSize |
Maximum size of a segmentdatacoord.segment.maxSize and datacoord.segment.sealProportion together determine if a segment can be sealed. Generally, the segment size ranges from 384 MB to 512 MB. |
512 |
datacoord.segment.sealProportion |
Maximum proportion of a segment’s actual size comparing to
|
0.75 |
dataNode.flush.insertBufSize |
Maximum row count of a segment buffered in memory |
32000 |
Cluster System Configurations
Milvus cluster maintains many system variables that configure the operation. All configurations can be set manually before server startup. Each configuration has a default value, which can be used directly.
Log Configurations
This session configures the system log output. Using Milvus generates a collection of logs. By default, Milvus uses logs to record information at debug
or even higher level for standard output (stdout) and standard error (stderr). You can set these configurations in milvus.yaml.
Configuration | Description | Default Value |
---|---|---|
log.level |
Log level in Milvusdebug , info , warn , error , panic , or fatal .
debug level under test and development environments, and info level in production environment.
|
debug |
log.file.rootPath |
Root path to the log files |
"" |
etcd Configurations
etcd is the metadata engine supporting Milvus' metadata storage and access.
You do not need to change this session if you use the default milvus-cluster-docker-compose.yml for third-party services.
Configuration | Description | Default Value |
---|---|---|
etcd.endpoints |
Endpoints of etcdETCD_ENDPOINTS etcd.endpoints .ETCD_ENDPOINTS when Milvus is booted up. |
localhost:2379 |
etcd.rootPath |
Root of key prefix to etcd |
"by-dev" |
MinIO/S3 Configurations
Milvus supports MinIO and Amazon S3 as the storage engine for data persistence of insert log files and index files. Whereas MinIO is the de facto standard for S3 compatibility, you can configure S3 parameters directly under MinIO
section. You can set these configurations in milvus.yaml.
You do not need to change this session if you use the default milvus-cluster-docker-compose.yml for third-party services.
Configuration | Description | Default Value |
---|---|---|
minio.address |
IP address of MinIO/S3MINIO_ADDRESS minio.address . minio.address and minio.port together generates the valid access to MinIO/S3.MINIO_ADDRESS when Milvus is booted up. |
localhost |
minio.port |
Port of MinIO/S3MINIO_ADDRESS minio.address . minio.address and minio.port together generate the valid access to MinIO/S3.MINIO_ADDRESS when Milvus is booted up. |
9000 |
minio.AccessKeyID |
MinIO/S3 key ID for authorized user accessMINIO_ACCESS_KEY minio.accessKeyID and minio.secretAccessKey together are used for identity authentication to access the MinIO/S3 service.MINIO_ACCESS_KEY , which is necessary for booting up MinIO/S3. The default value applies to the MinIO/S3 service that booted up with the default docker-compose.yml provided by Milvus. |
minioadmin |
minio.secretAccessKey |
MinIO/S3 encryption stringMINIO_SECRET_KEY MINIO_SECRET_KEY , which is necessary for booting up MinIO/S3. The default value applies to the MinIO/S3 service that booted up with the default docker-compose.yml provided by Milvus. |
minioadmin |
Pulsar Configurations
Pulsar is the underlying engine supporting Milvus' reliable storage and pub/sub of log streams. You can set these configurations in milvus.yaml.
You do not need to change this session if you use the default milvus-cluster-docker-compose.yml for third-party services.
Configuration | Description | Default Value |
---|---|---|
pulsar.address |
IP address of PulsarPULSAR_ADDRESS pulsar.address . pulsar.address and pulsar.port together generates the valid access to Pulsar. Pulsar preferentially acquires the valid address from the environment variable PULSAR_ADDRESS when Milvus is booted up. |
localhost |
pulsar.port |
Port of PulsarPULSAR_ADDRESS pulsar.port . pulsar.address and pulsar.port together generates the valid access to Pulsar. Pulsar preferentially acquires the valid address from the environment variable PULSAR_ADDRESS when Milvus is booted up. |
6650 |
Server Address Configurations
This session configures the IP address and port of the monitor request from Milvus. You can set these configurations in milvus.yaml.
Configuration | Description | Default Value |
---|---|---|
rootCoord.address |
TCP/IP address of root coordinatorIf you set this parameter as0.0.0.0 , root coordinator monitors all IPv4 addresses.
|
localhost |
rootCoord.port |
TCP port of root coordinator | 53100 |
proxy.port |
TCP port for monitoring Milvus | 19530 |
queryCoord.address |
TCP/IP address of query coordinatorIf you set this parameter as0.0.0.0 , query coordinator monitors all IPv4 addresses.
|
localhost |
queryCoord.port |
TCP port of query coordinator | 19531 |
queryNode.port |
TCP port of query node | 21123 |
indexCoord.address |
TCP/IP address of index coordinator | localhost |
indexCoord.port |
TCP port of index coordinator | 31000 |
indexNode.port |
TCP port of index node | 21121 |
dataCoord.address |
TCP/IP address of data coordinator | localhost |
dataCoord.port |
TCP port of data coordinator | 13333 |
dataNode.port |
TCP port of data node | 21124 |
System Behavior Configurations
This session configures the system behaviors of Milvus. You can set these configurations in milvus.yaml, root_coord.yaml, data_coord.yaml, and data_node.yaml.
Configuration | Description | Default Value |
---|---|---|
queryNode.gracefulTime |
Minimum time before the newly inserted data can be searchedsearch message timestamp is later than the query node system time, the search message waits for the query node system time to advance until the time difference between them is less than the value set in queryNode.gracefulTime , and then Milvus executes the query demand. |
1000 |
rootcoord.minSegmentSizeToEnableIndex |
The minimum row count in a segment required for creating index |
1024 |
datacoord.segment.maxSize |
Maximum size of a segmentdatacoord.segment.maxSize and datacoord.segment.sealProportion together determine if a segment can be sealed. Generally, the segment size ranges from 384 MB to 512 MB. |
512 |
datacoord.segment.sealProportion |
Maximum proportion of a segment’s actual size comparing to
|
0.75 |
dataNode.flush.insertBufSize |
Maximum row count of a segment buffered in memory |
32000 |
Tutorial
Advanced Deployment
Deploy Milvus with External Components
Deploy a Milvus Cluster on EC2
Deploy a Milvus Cluster on EKS
Deploy a Milvus Cluster on GCP
Deploy Milvus on Azure with AKS
Upgrade Milvus with Helm Chart