diff --git a/templates/master/00-master/baremetal/files/baremetal-haproxy-haproxy.yaml b/templates/master/00-master/baremetal/files/baremetal-haproxy-haproxy.yaml index 015fd626ec..0dc35d4b0d 100644 --- a/templates/master/00-master/baremetal/files/baremetal-haproxy-haproxy.yaml +++ b/templates/master/00-master/baremetal/files/baremetal-haproxy-haproxy.yaml @@ -35,5 +35,5 @@ contents: option log-health-checks balance roundrobin {{`{{- range .LBConfig.Backends }} - server {{ .Host }} {{ .Address }}:{{ .Port }} weight 1 verify none check check-ssl inter 3s fall 2 rise 3 + server {{ .Host }} {{ .Address }}:{{ .Port }} weight 1 verify none check check-ssl inter 1s fall 2 rise 3 {{- end }}`}} diff --git a/templates/master/00-master/baremetal/files/baremetal-keepalived-keepalived.yaml b/templates/master/00-master/baremetal/files/baremetal-keepalived-keepalived.yaml index a21fe54b9f..fd14e3b76d 100644 --- a/templates/master/00-master/baremetal/files/baremetal-keepalived-keepalived.yaml +++ b/templates/master/00-master/baremetal/files/baremetal-keepalived-keepalived.yaml @@ -17,16 +17,16 @@ contents: # api to take the VIP. This isn't preferred because it means all api # traffic will go through one node, but at least it keeps the api available. vrrp_script chk_ocp_lb { - script "/usr/bin/timeout 0.9 /etc/keepalived/chk_ocp_script.sh" - interval 1 + script "/usr/bin/timeout 1.9 /etc/keepalived/chk_ocp_script.sh" + interval 2 weight 20 rise 3 fall 2 } vrrp_script chk_ocp_both { - script "/usr/bin/timeout 0.9 /etc/keepalived/chk_ocp_script_both.sh" - interval 1 + script "/usr/bin/timeout 1.9 /etc/keepalived/chk_ocp_script_both.sh" + interval 2 # Use a smaller weight for this check so it won't trigger the move from # bootstrap to master by itself. weight 5