forked from easzlab/kubeasz
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
# 区分多个instance的VRRP组播,同网段不能重复,取值在0-255之间 | ||
# 可以直接指定数字,如ROUTER_ID: 69 | ||
# 可以直接指定数字,如ROUTER_ID: 111 | ||
# 取100~200间的随机数 | ||
#ROUTER_ID: "{{ 200 | random(100,1) }}" | ||
ROUTER_ID: 69 | ||
#ROUTER_ID: "{{ 200 | random }}" | ||
ROUTER_ID: 111 | ||
|
||
# haproxy负载均衡算法,常见如下: | ||
# "roundrobin": 基于服务器权重的轮询 | ||
# "leastconn": 基于服务器最小连接数 | ||
# "source": 基于请求源IP地址 | ||
# "uri": 基于请求的URI | ||
BALANCE_ALG: "roundrobin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters