7d519c1208
Don't return non-zero exit status if /etc/default/haproxy file doesn't exist, image build fails then. Change-Id: I64153a9f7869d1d7f7a4ce8f848884ba9fb83a37 |
||
---|---|---|
.. | ||
install.d | ||
os-config-applier/etc/haproxy | ||
os-refresh-config | ||
README.md |
Element to install haproxy. This element proxies services listed in haproxy.services and additionally enables ports in firewall.
Configuration
haproxy: nodes:
- name: notcompute ip: 192.0.2.5
- name: notcomputeSlave0 ip: 192.0.2.6 services:
- name: dashboard_cluster proxy_port: 444 port: 443
- name: glance_api_cluster proxy_port: 9293 port:9292
You can override set of nodes for a service by setting its own set of haproxy.nodes inside a service definition:
services:
- name: dashboard_cluster
proxy_port: 444
port: 443
haproxy:
nodes:
- name: foo0 ip: 10.0.0.1