Skip to content

Commit

Permalink
Merge pull request #73310 from wojtek-t/automated-cherry-pick-of-#732…
Browse files Browse the repository at this point in the history
…68-upstream-release-1.13

Automated cherry pick of #73268 upstream release 1.13
  • Loading branch information
k8s-ci-robot committed Jan 25, 2019
2 parents a0ad376 + b0437a3 commit 6260c81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cluster/gce/gci/configure-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1563,9 +1563,9 @@ function start-kube-apiserver {
fi
if [[ -n "${NUM_NODES:-}" ]]; then
# If the cluster is large, increase max-requests-inflight limit in apiserver.
if [[ "${NUM_NODES}" -ge 3000 ]]; then
if [[ "${NUM_NODES}" -gt 3000 ]]; then
params+=" --max-requests-inflight=3000 --max-mutating-requests-inflight=1000"
elif [[ "${NUM_NODES}" -ge 1000 ]]; then
elif [[ "${NUM_NODES}" -gt 500 ]]; then
params+=" --max-requests-inflight=1500 --max-mutating-requests-inflight=500"
fi
# Set amount of memory available for apiserver based on number of nodes.
Expand Down

0 comments on commit 6260c81

Please sign in to comment.