mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add condition of milvus limit deploy on benchmark (#9004)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/9009/head
parent
6e0cecb034
commit
be61668aa6
|
@ -75,7 +75,7 @@ def update_values(src_values_file, deploy_params_file):
|
|||
cpus = res["cpus"]
|
||||
mems = res["mems"]
|
||||
gpus = res["gpus"]
|
||||
if cpus:
|
||||
if cpus and mems:
|
||||
# Set the scope of cpu application according to the configuration
|
||||
resources = {
|
||||
"limits": {
|
||||
|
|
Loading…
Reference in New Issue