27 lines
928 B
YAML
27 lines
928 B
YAML
# haproxy.yaml - HAProxy load balancing config for Beelink lab
|
|
#
|
|
# Deploys 2 HAProxy containers on the OVN overlay (net-prod, 10.10.10.0/24)
|
|
# with a VIP on the UPLINK external range (192.168.103.200).
|
|
#
|
|
# Architecture:
|
|
# ffsdn-haproxy-52-01 (10.10.10.50) - HAProxy instance 1 on net-prod
|
|
# ffsdn-haproxy-52-02 (10.10.10.51) - HAProxy instance 2 on net-prod
|
|
# nginx-lb-01/02/03 (10.10.10.60-62) - nginx test backends on net-prod
|
|
# VIP: 192.168.103.200:80 - OVN LB for external access
|
|
#
|
|
# Usage:
|
|
# source envs/beelink/env
|
|
# bin/deploy-haproxy --config envs/beelink/haproxy.yaml --deploy
|
|
|
|
haproxy:
|
|
cluster_remote: oc-node-01
|
|
cluster_id: 52
|
|
ovn_network: net-prod
|
|
vip: 192.168.103.200
|
|
haproxy_01_ip: 10.10.10.50
|
|
haproxy_02_ip: 10.10.10.51
|
|
backend_ips: 10.10.10.60,10.10.10.61,10.10.10.62
|
|
service_name: web-test
|
|
image_version: "1.0.0"
|
|
aether_url: https://192.168.102.160:8443
|