From c65a767b42c9b6cbdc7da8c09abc792d5fb75f4b Mon Sep 17 00:00:00 2001 From: RouxAntoine Date: Thu, 13 Jul 2023 22:11:11 +0200 Subject: [PATCH] feature: migrate to final ip 192.168.2.2 --- keepalived.template.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {