feature: migrate to final ip 192.168.2.2

This commit is contained in:
RouxAntoine 2023-07-13 22:11:11 +02:00
parent b38ad5cda0
commit c65a767b42
Signed by: antoine
GPG Key ID: 098FB66FC0475E70

View File

@ -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 {