fix lameduck docs (#4169)

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
Chris O'Haver
2020-10-01 11:03:34 -04:00
committed by GitHub
parent 6edc8fe7f6
commit 042e57a177

View File

@@ -26,8 +26,8 @@ health [ADDRESS] {
}
~~~
* Where `lameduck` will make the process unhealthy then *wait* for **DURATION** before the process
shuts down.
* Where `lameduck` will delay shutdown for **DURATION**. /health will still answer 200 OK.
Note: The *ready* plugin will not answer OK while CoreDNS is in lameduck mode prior to shutdown.
If you have multiple Server Blocks, *health* can only be enabled in one of them (as it is process
wide). If you really need multiple endpoints, you must run health endpoints on different ports: