summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-07-06 13:56:58 -0400
committerScott Dodson <sdodson@redhat.com>2017-07-06 14:01:09 -0400
commit604b0cc7589e1bc12041f7d4201fdf17004d7d7e (patch)
treedff5da61bee2e4cbfcfdea6203ec77108321c1ca /roles
parent1d0f56ca913af24a1ba4b46b25d719619216df92 (diff)
downloadopenshift-604b0cc7589e1bc12041f7d4201fdf17004d7d7e.tar.gz
openshift-604b0cc7589e1bc12041f7d4201fdf17004d7d7e.tar.bz2
openshift-604b0cc7589e1bc12041f7d4201fdf17004d7d7e.tar.xz
openshift-604b0cc7589e1bc12041f7d4201fdf17004d7d7e.zip
Add rate limit configurability
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_master/templates/master.yaml.v1.j28
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/openshift_master/templates/master.yaml.v1.j2 b/roles/openshift_master/templates/master.yaml.v1.j2
index af3ebc6d2..7964bbb48 100644
--- a/roles/openshift_master/templates/master.yaml.v1.j2
+++ b/roles/openshift_master/templates/master.yaml.v1.j2
@@ -164,16 +164,16 @@ masterClients:
externalKubernetesClientConnectionOverrides:
acceptContentTypes: application/vnd.kubernetes.protobuf,application/json
contentType: application/vnd.kubernetes.protobuf
- burst: 400
- qps: 200
+ burst: {{ openshift_master_external_ratelimit_burst | default(400) }}
+ qps: {{ openshift_master_external_ratelimit_qps | default(200) }}
{% endif %}
externalKubernetesKubeConfig: ""
{% if openshift.common.version_gte_3_3_or_1_3 | bool %}
openshiftLoopbackClientConnectionOverrides:
acceptContentTypes: application/vnd.kubernetes.protobuf,application/json
contentType: application/vnd.kubernetes.protobuf
- burst: 600
- qps: 300
+ burst: {{ openshift_master_loopback_ratelimit_burst | default(600) }}
+ qps: {{ openshift_master_loopback_ratelimit_qps | default(300) }}
{% endif %}
openshiftLoopbackKubeConfig: openshift-master.kubeconfig
masterPublicURL: {{ openshift.master.public_api_url }}