2021-10-05 12:48:28 +00:00
|
|
|
# address of mongoDB
|
2021-07-02 03:40:16 +00:00
|
|
|
MONGO_SERVER = 'mongodb://192.168.1.234:27017/'
|
|
|
|
|
|
|
|
SCHEDULER_DB = "scheduler"
|
|
|
|
JOB_COLLECTION = "jobs"
|
|
|
|
|
2021-12-24 05:37:48 +00:00
|
|
|
REGISTRY_URL = "registry.milvus.io/milvus/milvus"
|
2021-07-02 03:40:16 +00:00
|
|
|
IDC_NAS_URL = "//172.16.70.249/test"
|
2021-07-23 07:36:12 +00:00
|
|
|
DEFAULT_IMAGE = "milvusdb/milvus:latest"
|
2021-07-02 03:40:16 +00:00
|
|
|
|
|
|
|
SERVER_HOST_DEFAULT = "127.0.0.1"
|
|
|
|
SERVER_PORT_DEFAULT = 19530
|
2021-10-04 11:50:09 +00:00
|
|
|
|
|
|
|
# milvus version, should be changed by manual
|
2022-01-04 08:29:28 +00:00
|
|
|
SERVER_VERSION = "2.0.0-RC9"
|
2021-07-23 07:36:12 +00:00
|
|
|
DEFUALT_DEPLOY_MODE = "single"
|
|
|
|
|
2021-07-02 03:40:16 +00:00
|
|
|
|
|
|
|
HELM_NAMESPACE = "milvus"
|
|
|
|
BRANCH = "master"
|
|
|
|
|
|
|
|
DEFAULT_CPUS = 48
|
|
|
|
|
2021-12-01 09:39:36 +00:00
|
|
|
NAS_MOUNT_PATH = '/test'
|
|
|
|
|
2021-10-04 11:52:02 +00:00
|
|
|
# path of NAS mount
|
2021-07-02 03:40:16 +00:00
|
|
|
RAW_DATA_DIR = "/test/milvus/raw_data/"
|
|
|
|
|
|
|
|
# nars log
|
|
|
|
LOG_PATH = "/test/milvus/benchmark/logs/{}/".format(BRANCH)
|
|
|
|
|
2021-10-05 12:46:44 +00:00
|
|
|
# Three deployment methods currently supported
|
2021-07-02 03:40:16 +00:00
|
|
|
DEFAULT_DEPLOY_MODE = "single"
|
2021-07-23 07:36:12 +00:00
|
|
|
SINGLE_DEPLOY_MODE = "single"
|
|
|
|
CLUSTER_DEPLOY_MODE = "cluster"
|
2021-09-27 11:07:57 +00:00
|
|
|
CLUSTER_3RD_DEPLOY_MODE = "cluster_3rd"
|
|
|
|
|
2021-11-06 15:00:57 +00:00
|
|
|
# chaos's config
|
2021-07-02 03:40:16 +00:00
|
|
|
NAMESPACE = "milvus"
|
|
|
|
CHAOS_NAMESPACE = "chaos-testing"
|
|
|
|
DEFAULT_API_VERSION = 'chaos-mesh.org/v1alpha1'
|
|
|
|
DEFAULT_GROUP = 'chaos-mesh.org'
|
|
|
|
DEFAULT_VERSION = 'v1alpha1'
|
2021-07-23 07:36:12 +00:00
|
|
|
|
2021-10-15 10:56:43 +00:00
|
|
|
# MinIO config
|
2021-07-23 07:36:12 +00:00
|
|
|
MINIO_HOST = "milvus-test-minio.qa-milvus.svc.cluster.local"
|
|
|
|
MINIO_PORT = 9000
|
|
|
|
MINIO_ACCESS_KEY = "minioadmin"
|
|
|
|
MINIO_SECRET_KEY = "minioadmin"
|
2021-11-06 15:00:57 +00:00
|
|
|
MINIO_BUCKET_NAME = "test"
|
2021-12-17 09:04:05 +00:00
|
|
|
|
2021-12-30 06:32:10 +00:00
|
|
|
# precision of params
|
2021-12-20 10:29:02 +00:00
|
|
|
FLUSH_PRECISION = 4
|
2021-12-21 07:31:00 +00:00
|
|
|
INDEX_PRECISION = 4
|
2021-12-22 06:19:36 +00:00
|
|
|
SEARCH_PRECISION = 4
|
2021-12-23 06:47:29 +00:00
|
|
|
INSERT_PRECISION = 4
|
2021-12-29 07:24:21 +00:00
|
|
|
QUERY_PRECISION = 4
|
2021-12-17 09:04:05 +00:00
|
|
|
COMMON_PRECISION = 4
|
2021-12-20 10:29:02 +00:00
|
|
|
|