Skip to content
Closed
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 @@ -7,6 +7,8 @@ contents:
script "/usr/bin/curl -o /dev/null -kLs https://localhost:6443/readyz"
interval 1
weight 50
rise 3
fall 2
}

# TODO: Improve this check. The port is assumed to be alive.
Expand All @@ -15,6 +17,8 @@ contents:
script "/usr/bin/curl -o /dev/null -kLs http://localhost:1936/healthz"
interval 1
weight 50
rise 3
fall 2
}

vrrp_instance {{`{{ .Cluster.Name }}`}}_API {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ contents:
script "/usr/bin/curl -o /dev/null -kLs https://localhost:6443/readyz"
interval 1
weight 50
rise 3
fall 2
}
vrrp_script chk_dns {
script "/usr/bin/host -t SRV _etcd-server-ssl._tcp.{{ .EtcdDiscoveryDomain }} localhost"
interval 1
weight 50
rise 3
fall 2
}
# TODO: Improve this check. The port is assumed to be alive.
# Need to assess what is the ramification if the port is not there.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ contents:
script "/usr/bin/host -t SRV _etcd-server-ssl._tcp.{{ .EtcdDiscoveryDomain }} localhost"
interval 1
weight 50
rise 3
fall 2
}

# TODO: Improve this check. The port is assumed to be alive.
Expand All @@ -21,6 +23,8 @@ contents:
script "/usr/bin/curl -o /dev/null -kLs http://0:1936/healthz"
interval 1
weight 50
rise 3
fall 2
}

vrrp_instance {{`{{ .Cluster.Name }}`}}_API {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ contents:
script "/usr/bin/curl -o /dev/null -kLs https://localhost:6443/readyz"
interval 1
weight 50
rise 3
fall 2
}

# TODO: Improve this check. The port is assumed to be alive.
Expand All @@ -17,6 +19,8 @@ contents:
script "/usr/bin/curl -o /dev/null -kLs http://localhost:1936/healthz"
interval 1
weight 50
rise 3
fall 2
}

vrrp_instance {{`{{ .Cluster.Name }}`}}_API {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ contents:
script "/usr/bin/curl -o /dev/null -kLs http://0:1936/healthz"
interval 1
weight 50
rise 3
fall 2
}

vrrp_instance {{`{{ .Cluster.Name }}`}}_INGRESS {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ contents:
script "/usr/bin/curl -o /dev/null -kLs http://0:1936/healthz"
interval 1
weight 50
rise 3
fall 2
}
vrrp_instance {{`{{ .Cluster.Name }}`}}_INGRESS {
state BACKUP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ contents:
script "/usr/bin/curl -o /dev/null -kLs http://0:1936/healthz"
interval 1
weight 50
rise 3
fall 2
}

vrrp_instance {{`{{ .Cluster.Name }}`}}_INGRESS {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ contents:
script "/usr/bin/curl -o /dev/null -kLs http://0:1936/healthz"
interval 1
weight 50
rise 3
fall 2
}

vrrp_instance {{`{{ .Cluster.Name }}`}}_INGRESS {
Expand Down