2019-02-07 15:10:49 +08:00
|
|
|
|
# 区分多个instance的VRRP组播,同网段不能重复,取值在0-255之间
|
|
|
|
|
# 因项目已设置vrrp报文单播模式,所以这个ROUTER_ID 即便同网段里面有重复也没关系
|
2021-04-02 14:45:10 +08:00
|
|
|
|
ROUTER_ID: 222
|
2019-02-07 15:10:49 +08:00
|
|
|
|
|
|
|
|
|
# haproxy负载均衡算法,常见如下:
|
|
|
|
|
# "roundrobin": 基于服务器权重的轮询
|
|
|
|
|
# "leastconn": 基于服务器最小连接数
|
|
|
|
|
# "source": 基于请求源IP地址
|
|
|
|
|
# "uri": 基于请求的URI
|
|
|
|
|
BALANCE_ALG: "roundrobin"
|
|
|
|
|
|
|
|
|
|
# 启用 ingress NodePort服务的负载均衡 (yes/no)
|
2021-03-28 22:15:49 +08:00
|
|
|
|
INGRESS_NODEPORT_LB: "no"
|
2021-04-02 14:45:10 +08:00
|
|
|
|
|
|
|
|
|
# ingress NodePort 的端口号
|
|
|
|
|
INGRESS_NODEPORT_LB_PORT: 23456
|
2019-02-07 15:10:49 +08:00
|
|
|
|
# 启用 ingress tls NodePort服务的负载均衡 (yes/no)
|
2021-03-28 22:15:49 +08:00
|
|
|
|
INGRESS_TLS_NODEPORT_LB: "no"
|
2021-04-02 14:45:10 +08:00
|
|
|
|
# ingress tls NodePort 的端口号
|
|
|
|
|
INGRESS_TLS_NODEPORT_LB_PORT: 23457
|
2019-06-28 21:16:13 +08:00
|
|
|
|
|
|
|
|
|
# 离线安装 haproxy+keepalived (offline|online)
|
2019-07-03 22:39:23 +08:00
|
|
|
|
INSTALL_SOURCE: "online"
|