mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
fix lameduck docs (#4169)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
@@ -26,8 +26,8 @@ health [ADDRESS] {
|
|||||||
}
|
}
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
* Where `lameduck` will make the process unhealthy then *wait* for **DURATION** before the process
|
* Where `lameduck` will delay shutdown for **DURATION**. /health will still answer 200 OK.
|
||||||
shuts down.
|
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
|
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:
|
wide). If you really need multiple endpoints, you must run health endpoints on different ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user