1
0
Fork 0

feat(ecs): add MaxConn label.

This commit is contained in:
Fernandez Ludovic 2017-12-16 19:57:40 +01:00 committed by Traefiker
parent 66f46c5b96
commit 7c64f5d31e
2 changed files with 38 additions and 0 deletions

View file

@ -16,6 +16,12 @@
{{end}}
{{end}}
{{if hasMaxConnLabels $instances}}
[backends.backend-{{ $serviceName }}.maxConn]
amount = {{getMaxConnAmount $instances}}
extractorFunc = "{{getMaxConnExtractorFunc $instances}}"
{{end}}
{{ if hasHealthCheckLabels $instances }}
[backends.backend-{{ $serviceName }}.healthCheck]
path = "{{getHealthCheckPath $instances }}"