feature: migrate to final ip 192.168.2.2
This commit is contained in:
parent
b38ad5cda0
commit
c65a767b42
@ -7,7 +7,7 @@ global_defs {
|
|||||||
|
|
||||||
vrrp_script haproxy-check {
|
vrrp_script haproxy-check {
|
||||||
# -0 checks if the process is running
|
# -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
|
interval 2
|
||||||
weight 20
|
weight 20
|
||||||
user keepalived_script
|
user keepalived_script
|
||||||
@ -41,7 +41,7 @@ vrrp_instance haproxy-virtual-ip {
|
|||||||
}
|
}
|
||||||
|
|
||||||
virtual_ipaddress {
|
virtual_ipaddress {
|
||||||
192.168.2.4/32
|
192.168.2.2/32
|
||||||
}
|
}
|
||||||
|
|
||||||
track_script {
|
track_script {
|
||||||
|
Loading…
Reference in New Issue
Block a user