-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Description
This is a feature request.
Currently, health checks work and are great to ensure continuous, uninterrupted service, even when rolling updates.
However, I might want to specify a rather long health check interval, let's say 5 minutes, because my health check checks for a few different things and is a bit time- and resource-consuming.
The documentation states:
The health check will first run interval seconds after the container is started, and then again interval seconds after each previous check completes.
This doesn't work well with continuous delivery, since I'll have to wait 5 minutes before the first container with my new software version is available. This is a long time to wait. And I don't really want to end up with containers running different versions of software for a long period time.
Why couldn't we just run the first health check right after startup, without waiting for interval delay?