更新 scripts/keepalived.sh
This commit is contained in:
parent
58a361d6e6
commit
ecebe67829
|
|
@ -113,12 +113,13 @@ EOF
|
|||
cat > "$KEEPALIVED_CONF" << EOF
|
||||
global_defs {
|
||||
router_id LVS_K8S_$(hostname)
|
||||
script_security 2
|
||||
}
|
||||
|
||||
vrrp_script check_haproxy {
|
||||
script "$CHECK_SCRIPT"
|
||||
interval 2
|
||||
weight -20
|
||||
weight -5
|
||||
}
|
||||
|
||||
vrrp_instance VI_1 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue