stock2_argocd/base/haproxy/haproxy-configmap.yaml
william 5975e969bb 1
2025-10-29 22:40:59 +08:00

43 lines
978 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: haproxy-config
data:
haproxy.cfg: |
global
log /dev/log local0
log /dev/log local1 notice
daemon
defaults
mode http
balance roundrobin
timeout client 10s
timeout server 10s
timeout connect 10s
frontend fe_8188
mode http
bind *:8188
default_backend be_8188
frontend stats
mode http
bind *:8280
stats enable
stats refresh 10s
stats uri /stats
stats show-modules
backend be_8188
mode http
option httpchk GET /api/hq/sinahealth
http-check expect status 200
balance roundrobin
server s1 203.195.202.122:8188 check
server s2 43.138.180.73:8188 check
server s3 119.91.140.34:8188 check
server s4 129.204.124.114:8188 check
server s5 129.204.10.175:8188 check
server s6 106.55.165.59:8188 check