loadbalancer defaultTemplate
Fix the format of the template so loadbalancer doesn't crashloopback Change-Id: I5889eefc34f623bff1ca74cbd4134872c2ac1978
This commit is contained in:
@@ -300,7 +300,7 @@ backend kube-apiservers
|
|||||||
# downinter 2s makes it check more frequently to recover from that state sooner.
|
# downinter 2s makes it check more frequently to recover from that state sooner.
|
||||||
# Also changing fall to 4 so that it takes longer (4 failures) for it to take down a backend.
|
# Also changing fall to 4 so that it takes longer (4 failures) for it to take down a backend.
|
||||||
default-server check check-ssl verify none inter 5s downinter 2s fall 4 on-marked-down shutdown-sessions
|
default-server check check-ssl verify none inter 5s downinter 2s fall 4 on-marked-down shutdown-sessions
|
||||||
{{- range .Backends }}
|
{{- range .Backends }}
|
||||||
{{- $backEnd := . }}
|
{{- $backEnd := . }}
|
||||||
server {{ $backEnd.Name }} {{ $backEnd.IP }}:{{ $backEnd.Port }}
|
server {{ $backEnd.Name }} {{ $backEnd.IP }}:{{ $backEnd.Port }}
|
||||||
{{ end -}}`
|
{{ end -}}`
|
||||||
|
|||||||
Reference in New Issue
Block a user