mirror of
https://github.com/coredns/coredns.git
synced 2026-01-22 00:21:22 -05:00
plugin/health: add logging for local health request (#4533)
This commit is contained in:
@@ -27,7 +27,7 @@ health [ADDRESS] {
|
||||
~~~
|
||||
|
||||
* 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.
|
||||
Note: The *ready* plugin will not answer OK while CoreDNS is in lame duck 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:
|
||||
@@ -67,7 +67,7 @@ Run another health endpoint on http://localhost:8091.
|
||||
}
|
||||
~~~
|
||||
|
||||
Set a lameduck duration of 1 second:
|
||||
Set a lame duck duration of 1 second:
|
||||
|
||||
~~~ corefile
|
||||
. {
|
||||
|
||||
Reference in New Issue
Block a user