Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Baremetal] Haproxy add support for IPv6 frontend #1256

Merged
merged 1 commit into from
Dec 4, 2019
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.
Jump to
Jump to file
Failed to load files.
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