mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-29 06:55:27 +08:00
[skip ci] Add mem limit of benchmark update server (#9003)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
parent
83cefbf610
commit
5bcbb168ec
@ -79,10 +79,12 @@ def update_values(src_values_file, deploy_params_file):
|
||||
# Set the scope of cpu application according to the configuration
|
||||
resources = {
|
||||
"limits": {
|
||||
"cpu": str(int(cpus)) + ".0"
|
||||
"cpu": str(int(cpus)) + ".0",
|
||||
"memory": str(int(mems)) + "Gi"
|
||||
},
|
||||
"requests": {
|
||||
"cpu": str(int(cpus) // 2 + 1) + ".0"
|
||||
"cpu": str(int(cpus) // 2 + 1) + ".0",
|
||||
"memory": str(int(mems) // 2 + 1) + "Gi"
|
||||
# "cpu": "4.0"
|
||||
# "cpu": str(int(cpus) - 1) + ".0"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user