[skip ci] Update server_resource of server config on benchmark (#12687)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
pull/12694/head
wt 2021-12-03 13:55:38 +08:00 committed by GitHub
parent 5e0eaa54dc
commit d718956b53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -323,6 +323,10 @@ def update_values(src_values_file, deploy_params_file):
'mountPath': '/test'
}]
server_resource = utils.get_server_resource(deploy_params)
print("[benchmark update] server_resource: %s" % str(server_resource))
values_dict = utils.update_dict_value(server_resource, values_dict)
print(values_dict)
# Update content of src_values_file
with open(src_values_file, 'w') as f: