summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2016-02-29 16:02:38 -0500
committerJason DeTiberus <jdetiber@redhat.com>2016-02-29 16:02:38 -0500
commitbf8d46ce7ffe24d65813b779f36f309c8f46542b (patch)
treedd714f3a221b4e3d0795c8ac3f339115da63807d /playbooks/common
parentfadad1f7e1934ab5542eae320af6fdaca7024479 (diff)
downloadopenshift-bf8d46ce7ffe24d65813b779f36f309c8f46542b.tar.gz
openshift-bf8d46ce7ffe24d65813b779f36f309c8f46542b.tar.bz2
openshift-bf8d46ce7ffe24d65813b779f36f309c8f46542b.tar.xz
openshift-bf8d46ce7ffe24d65813b779f36f309c8f46542b.zip
Increase maxconn settings for haproxy lb
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-master/config.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml
index acd2f5b11..d087a678a 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -28,7 +28,7 @@
| default([]))
| oo_collect('openshift.common.hostname')
| default(none, true) }}"
-
+
- set_fact:
openshift_master_debug_level: "{{ lookup('oo_option', 'openshift_master_debug_level') | default(openshift.common.debug_level, true) }}"
when: openshift_master_debug_level is not defined
@@ -232,6 +232,8 @@
hosts: oo_lb_to_config
vars:
sync_tmpdir: "{{ hostvars.localhost.g_master_mktemp.stdout }}"
+ haproxy_global_maxconn: 20000
+ haproxy_default_maxconn: 20000
haproxy_frontend_port: "{{ hostvars[groups.oo_first_master.0].openshift.master.api_port }}"
haproxy_frontends:
- name: atomic-openshift-api