summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-03-03 08:34:04 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2016-03-03 08:34:04 -0500
commita8edeaea8e8c67f5f930b54ccda5b575340231f5 (patch)
tree19de0a44a2a0dedb5e7528b9367441daaceb7e75 /playbooks/common
parentfe320d7e67f88b214d34bfb958cabfe08dd294ca (diff)
parent72f35852a044a8d2517d4c6ed72887e155dac524 (diff)
downloadopenshift-a8edeaea8e8c67f5f930b54ccda5b575340231f5.tar.gz
openshift-a8edeaea8e8c67f5f930b54ccda5b575340231f5.tar.bz2
openshift-a8edeaea8e8c67f5f930b54ccda5b575340231f5.tar.xz
openshift-a8edeaea8e8c67f5f930b54ccda5b575340231f5.zip
Merge pull request #1524 from detiber/haproxy_tuning
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