
This deploys two controller nodes with an haproxy in fron of the main API endpoint and workers on both nodes: primary and subnode1. Change-Id: Iecc38aa950e8b5a4c42db6b609820443efe437c2 Related-Bug: 1628481
31 lines
579 B
INI
31 lines
579 B
INI
global
|
|
daemon
|
|
log /dev/log local0
|
|
log /dev/log local1 notice
|
|
|
|
defaults
|
|
log global
|
|
retries 3
|
|
option redispatch
|
|
timeout connect 5000
|
|
timeout client 50000
|
|
timeout server 50000
|
|
|
|
|
|
|
|
frontend octavia-frontend-api
|
|
option httplog
|
|
bind 0.0.0.0:OCTAVIA_PORT
|
|
mode http
|
|
default_backend octavia-backend-api
|
|
|
|
backend octavia-backend-api
|
|
mode http
|
|
balance roundrobin
|
|
|
|
# the devstack plugin will add entries here looking like:
|
|
# server octavia-main <IP-main>:<PORT> weight 1
|
|
# server octavia-second <IP-second>:<PORT> weight 1
|
|
#
|
|
|