mirror of https://github.com/milvus-io/milvus.git
[skip ci] Update deploy codes of benchmark (#13421)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/13428/head
parent
769b05682a
commit
bb4c974c71
|
@ -163,11 +163,11 @@ def update_values(src_values_file, deploy_params_file):
|
|||
|
||||
cluster = False
|
||||
# values_dict["service"]["type"] = "ClusterIP"
|
||||
if deploy_mode == config.CLUSTER_DEPLOY_MODE:
|
||||
if deploy_mode in [config.CLUSTER_DEPLOY_MODE, config.CLUSTER_3RD_DEPLOY_MODE]:
|
||||
cluster = True
|
||||
# values_dict["cluster"]["enabled"] = True
|
||||
elif deploy_mode == config.CLUSTER_3RD_DEPLOY_MODE:
|
||||
cluster = True
|
||||
# elif deploy_mode == config.CLUSTER_3RD_DEPLOY_MODE:
|
||||
# cluster = True
|
||||
elif deploy_mode == config.SINGLE_DEPLOY_MODE:
|
||||
values_dict["cluster"]["enabled"] = False
|
||||
values_dict["etcd"]["replicaCount"] = 1
|
||||
|
|
Loading…
Reference in New Issue