Commit 6a40093c authored by Wojciech Tyczynski's avatar Wojciech Tyczynski Committed by GitHub

Merge pull request #41873 from wojtek-t/bump_kubeproxy_resources

Increase cpu for kubeproxy in kubemark in large clusters
parents 7eb7c2be 6d303d33
...@@ -311,7 +311,7 @@ current-context: kubemark-context") ...@@ -311,7 +311,7 @@ current-context: kubemark-context")
sed "s/{{numreplicas}}/${NUM_NODES:-10}/g" "${RESOURCE_DIRECTORY}/hollow-node_template.json" > "${RESOURCE_DIRECTORY}/hollow-node.json" sed "s/{{numreplicas}}/${NUM_NODES:-10}/g" "${RESOURCE_DIRECTORY}/hollow-node_template.json" > "${RESOURCE_DIRECTORY}/hollow-node.json"
proxy_cpu=20 proxy_cpu=20
if [ "${NUM_NODES:-10}" -gt 1000 ]; then if [ "${NUM_NODES:-10}" -gt 1000 ]; then
proxy_cpu=40 proxy_cpu=50
fi fi
proxy_mem_per_node=100 proxy_mem_per_node=100
proxy_mem=$((100 * 1024 + ${proxy_mem_per_node}*${NUM_NODES:-10})) proxy_mem=$((100 * 1024 + ${proxy_mem_per_node}*${NUM_NODES:-10}))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment