Toggle /ping to artificially return unhealthy response on SIGTERM during requestAcceptGraceTimeout interval

This commit is contained in:
ravilr 2018-03-22 10:18:03 -07:00 committed by Traefiker Bot
parent 9699dc2a85
commit 5792a19b97
5 changed files with 45 additions and 4 deletions

View file

@ -6,6 +6,9 @@ logLevel = "DEBUG"
[entryPoints.http]
address = ":8000"
[entryPoints.traefik]
address = ":8001"
[lifeCycle]
requestAcceptGraceTimeout = "10s"
@ -20,3 +23,5 @@ logLevel = "DEBUG"
backend = "backend"
[frontends.frontend.routes.service]
rule = "Path:/service"
[ping]