diff --git a/keepalived.template.conf b/keepalived.template.conf index 1f1985a..56458b1 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 6443" + script "/usr/lib/keepalived/scripts/chk_kube_apiserver.sh 192.168.2.4 6442" interval 2 weight 20 user keepalived_script