[skip ci] Update deploy codes of benchmark (#13421)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
pull/13428/head
wt 2021-12-15 12:09:33 +08:00 committed by GitHub
parent 769b05682a
commit bb4c974c71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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