Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
fix: avoid too many KeepaliveD IP failovers
Browse files Browse the repository at this point in the history
  • Loading branch information
eliobischof committed Aug 9, 2022
1 parent 951f06e commit bd97f85
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,9 @@ vrrp_sync_group VG1 {
{{ range $idx, $vip := .VIPs }}vrrp_script chk_{{ vip $vip }} {
script "/usr/local/bin/health --protocol http --ip 127.0.0.1 --port 29999 --path /ready --status 200"
interval 2 # check every 2 seconds
fall 15 # require 15 failures for KO
rise 2 # require 2 successes for OK
fall 5 # require 5 failures for KO
rise 5 # require 5 successes for OK
timeout 5 # time out after 5 seconds
}
vrrp_instance VI_{{ $idx }} {
Expand Down

0 comments on commit bd97f85

Please # to comment.