27 lines
924 B
YAML
27 lines
924 B
YAML
# haproxy.yaml - HAProxy load balancing config for Hetzner lab
|
|
#
|
|
# Deploys 2 HAProxy containers on the OVN overlay (net-prod, 10.10.10.0/24)
|
|
# with a VIP on the UPLINK external range (10.10.0.200-210).
|
|
#
|
|
# Architecture:
|
|
# ffsdn-haproxy-1-01 (10.10.10.50) - HAProxy instance 1 on net-prod
|
|
# ffsdn-haproxy-1-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: 10.10.0.200:80 - OVN external IP for external access
|
|
#
|
|
# Usage:
|
|
# source envs/hetzner/env
|
|
# bin/deploy-haproxy --config envs/hetzner/haproxy.yaml --deploy
|
|
|
|
haproxy:
|
|
cluster_remote: hz-cluster
|
|
cluster_id: 1
|
|
ovn_network: net-prod
|
|
vip: 10.10.0.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://10.10.0.120:8443
|