Ping resulting in 503 http code during graceful shutdown #6688
Labels
area/provider/k8s
kind/enhancement
a new or improved feature.
priority/P2
need to be fixed in the future
status/5-frozen-due-to-age
Projects
Milestone
Do you want to request a feature or report a bug?
Bug
What did you do?
Request shutdown of traefik and wait for a livenessProbe check.
It's well documented in the 1.7 doc but not in the 2.x.
When used in a livenessProbe in k8s an 503 http code is seen as an error.
What did you expect to see?
200 on ping request
What did you see instead?
503 on ping request
Output of
traefik version
: (What version of Traefik are you using?)What is your environment & configuration (arguments, toml, provider, platform, ...)?
Kubernetes example:
If applicable, please paste the log output in DEBUG level (
--log.level=DEBUG
switch)I don't think that's really a bug since it's documented in 1.7.x but an 503 http code is not really great IMO. Maybe we can add an option in the configuration for this to avoid breaking change.
The text was updated successfully, but these errors were encountered: