summaryrefslogtreecommitdiffstats
path: root/roles/openshift_loadbalancer/templates
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@afrolegs.com>2016-10-04 17:20:07 -0400
committerGitHub <noreply@github.com>2016-10-04 17:20:07 -0400
commit91809982259a63a1b7065dd2c503d94b5ca66c2a (patch)
tree7244ae08a3182d7fa41f49563e64576b205fb762 /roles/openshift_loadbalancer/templates
parentb31bcfb37e8740cea894eb60877d688bc3df2922 (diff)
parent21891653d3b287e6d78082ee03f878de415f16de (diff)
downloadopenshift-91809982259a63a1b7065dd2c503d94b5ca66c2a.tar.gz
openshift-91809982259a63a1b7065dd2c503d94b5ca66c2a.tar.bz2
openshift-91809982259a63a1b7065dd2c503d94b5ca66c2a.tar.xz
openshift-91809982259a63a1b7065dd2c503d94b5ca66c2a.zip
Merge pull request #2511 from vishpat/nuage_ha
Changes for Nuage HA
Diffstat (limited to 'roles/openshift_loadbalancer/templates')
-rw-r--r--roles/openshift_loadbalancer/templates/haproxy.cfg.j28
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/openshift_loadbalancer/templates/haproxy.cfg.j2 b/roles/openshift_loadbalancer/templates/haproxy.cfg.j2
index b9a279f5f..79e695001 100644
--- a/roles/openshift_loadbalancer/templates/haproxy.cfg.j2
+++ b/roles/openshift_loadbalancer/templates/haproxy.cfg.j2
@@ -3,7 +3,7 @@
global
chroot /var/lib/haproxy
pidfile /var/run/haproxy.pid
- maxconn {{ openshift.loadbalancer.global_maxconn }}
+ maxconn {{ openshift_loadbalancer_global_maxconn | default(20000) }}
user haproxy
group haproxy
daemon
@@ -32,14 +32,14 @@ defaults
timeout server 300s
timeout http-keep-alive 10s
timeout check 10s
- maxconn {{ openshift.loadbalancer.default_maxconn }}
+ maxconn {{ openshift_loadbalancer_default_maxconn | default(20000) }}
listen stats :9000
mode http
stats enable
stats uri /
-{% for frontend in openshift.loadbalancer.frontends %}
+{% for frontend in openshift_loadbalancer_frontends %}
frontend {{ frontend.name }}
{% for bind in frontend.binds %}
bind {{ bind }}
@@ -60,7 +60,7 @@ frontend {{ frontend.name }}
{% endif %}
{% endfor %}
-{% for backend in openshift.loadbalancer.backends %}
+{% for backend in openshift_loadbalancer_backends %}
backend {{ backend.name }}
balance {{ backend.balance }}
{% if 'mode' in backend %}