diff --git a/keepalived.template.conf b/keepalived.template.conf index 56458b1..7b910a7 100644 --- a/keepalived.template.conf +++ b/keepalived.template.conf @@ -7,7 +7,7 @@ global_defs { vrrp_script haproxy-check { # -0 checks if the process is running - script "/usr/lib/keepalived/scripts/chk_kube_apiserver.sh 192.168.2.4 6442" + script "/usr/lib/keepalived/scripts/chk_kube_apiserver.sh 192.168.2.2 6443" interval 2 weight 20 user keepalived_script @@ -41,7 +41,7 @@ vrrp_instance haproxy-virtual-ip { } virtual_ipaddress { - 192.168.2.4/32 + 192.168.2.2/32 } track_script {