stock2_argocd/base/haproxy/haproxy-configmap.yaml
William.Z d279a619ed hq
2026-01-02 17:04:27 +08:00

43 lines
975 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 159.75.41.226:8188 check
server s2 182.254.194.222:8188 check
server s3 123.207.14.68:8188 check
server s4 119.91.204.126:8188 check
server s5 43.136.71.196:8188 check
server s6 43.136.67.89:8188 check