Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ contents:
timeout server 86400s
timeout tunnel 86400s
frontend main
bind :{{`{{ .LBConfig.LbPort }}`}}
bind {{`{{ .LBConfig.FrontendAddr }}`}}:{{`{{ .LBConfig.LbPort }}`}}
default_backend masters
listen health_check_http_url
bind :50936
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ path: "/etc/kubernetes/static-pod-resources/keepalived/keepalived.conf.tmpl"
contents:
inline: |
vrrp_script chk_ocp {
script "/usr/bin/curl -o /dev/null -kLs https://0:6443/readyz"
script "/usr/bin/curl -o /dev/null -kLs https://localhost:6443/readyz"
interval 1
weight 50
}
Expand All @@ -18,7 +18,7 @@ contents:
# TODO: Improve this check. The port is assumed to be alive.
# Need to assess what is the ramification if the port is not there.
vrrp_script chk_ingress {
script "/usr/bin/curl -o /dev/null -kLs http://0:1936/healthz"
script "/usr/bin/curl -o /dev/null -kLs http://localhost:1936/healthz"
interval 1
weight 50
}
Expand Down