From c4e003e1ddf7d4913fe8f9f7ace47775b81b951c Mon Sep 17 00:00:00 2001 From: wt Date: Thu, 23 Dec 2021 14:45:37 +0800 Subject: [PATCH] [skip e2e] Update codes of update file (#14059) Signed-off-by: wangting0128 --- tests/benchmark/milvus_benchmark/update.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/benchmark/milvus_benchmark/update.py b/tests/benchmark/milvus_benchmark/update.py index 54b4773cb0..f195b1dfc0 100644 --- a/tests/benchmark/milvus_benchmark/update.py +++ b/tests/benchmark/milvus_benchmark/update.py @@ -146,6 +146,12 @@ def update_values(src_values_file, deploy_params_file): return: no return """ + perf_tolerations = [{ + "key": "node-role.kubernetes.io/benchmark", + "operator": "Exists", + "effect": "NoSchedule" + }] + # deploy_mode, hostname, server_tag, milvus_config, server_config=None try: with open(src_values_file) as f: @@ -172,12 +178,7 @@ def update_values(src_values_file, deploy_params_file): server_tag = utils.get_server_tag(deploy_params) print(server_tag) # TODO: update milvus config - # # update values.yaml with the given host - perf_tolerations = [{ - "key": "node-role.kubernetes.io/benchmark", - "operator": "Exists", - "effect": "NoSchedule" - }] + # update values.yaml with the given host # if server_name: # node_config = {'kubernetes.io/hostname': server_name} # elif server_tag: