Increase max mutating inflight requests in large clusters

This commit is contained in:
gmarek
2016-12-05 09:32:43 +01:00
parent 0bea8ca301
commit aef56cdf21
3 changed files with 3 additions and 3 deletions

View File

@@ -66,7 +66,7 @@
{% if pillar['num_nodes'] is defined -%}
# If the cluster is large, increase max-requests-inflight limit in apiserver.
{% if pillar['num_nodes']|int >= 1000 -%}
{% set max_requests_inflight = "--max-requests-inflight=1500" -%}
{% set max_requests_inflight = "--max-requests-inflight=1500 --max-mutating-requests-inflight=500" -%}
{% endif -%}
# Set amount of memory available for apiserver based on number of nodes.
# TODO: Once we start setting proper requests and limits for apiserver