mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 18:53:43 -04:00
ADD ignoreemptyservice option for kubernetes plugin (#1813)
* ADD: ignoreemptyservice option for kubernetes plugin * Modify documentation and rename option to add space * UPD: Add unit tests * UPD: gofmt * Add unit test for ignore emptyservice * gofmt * xfr tests failed * Rename emptyservice to empty_service
This commit is contained in:
committed by
Chris O'Haver
parent
0f74281a53
commit
003e104fca
@@ -101,6 +101,9 @@ kubernetes [ZONES...] {
|
||||
the query. If **[ZONES...]** is omitted, then fallthrough happens for all zones for which the plugin
|
||||
is authoritative. If specific zones are listed (for example `in-addr.arpa` and `ip6.arpa`), then only
|
||||
queries for those zones will be subject to fallthrough.
|
||||
* `ignore empty_service` return NXDOMAIN for services without any ready endpoint addresses (e.g. ready pods).
|
||||
This allows the querying pod to continue searching for the service in the search path.
|
||||
The search path could, for example, include another kubernetes cluster.
|
||||
|
||||
## Health
|
||||
|
||||
|
||||
Reference in New Issue
Block a user