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 119.29.23.201:8188 check server s2 159.75.35.194:8188 check server s3 139.199.16.149:8188 check server s4 81.71.84.187:8188 check server s5 43.139.167.211:8188 check server s6 119.91.32.129:8188 check