Update 'haproxy.yml'

master
alecsandru 9 months ago
parent 4eb923dc15
commit cdfdda7304
  1. 8
      haproxy.yml

@ -43,6 +43,9 @@
virtual_ipaddress {
10.10.0.2
}
track_script {
chk_apiserver
}
}
vrrp_script chk_apiserver {
script "/usr/bin/nc localhost 6443"
@ -69,5 +72,8 @@
chk_haproxy
}
}
- name: restart keepalived
service:
name: keepalived
state: restarted

Loading…
Cancel
Save