diff options
author | 2018-10-15 12:43:03 -0400 | |
---|---|---|
committer | 2018-10-15 12:43:03 -0400 | |
commit | 6beeabc47ccebd77de2a41192e1cca3a882127a3 (patch) | |
tree | b77b0a4492edf2786b52bdaf5604047b9602ceba /plugin/federation/README.md | |
parent | 1847ef6bd31ecd38fe5d19e54c47a812cb2ed303 (diff) | |
download | coredns-6beeabc47ccebd77de2a41192e1cca3a882127a3.tar.gz coredns-6beeabc47ccebd77de2a41192e1cca3a882127a3.tar.zst coredns-6beeabc47ccebd77de2a41192e1cca3a882127a3.zip |
plugin/federation: Add upstream option to federation (#2177)
* add upstream
* add upstream
* debug ci
* debug ci
* set context
* update readme
* update readme
* remove empty if
Diffstat (limited to 'plugin/federation/README.md')
-rw-r--r-- | plugin/federation/README.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugin/federation/README.md b/plugin/federation/README.md index 021921cb2..1bcd23af6 100644 --- a/plugin/federation/README.md +++ b/plugin/federation/README.md @@ -17,11 +17,16 @@ Enabling *federation* without also having *kubernetes* is a noop. ~~~ federation [ZONES...] { NAME DOMAIN + upstream [ADDRESS...] } ~~~ * Each **NAME** and **DOMAIN** defines federation membership. One entry for each. A duplicate **NAME** will silently overwrite any previous value. +* `upstream` [**ADDRESS**...] defines the upstream resolvers used for resolving the `CNAME` target + produced by this plugin. If no **ADDRESS** is given, CoreDNS + will resolve External Services against itself. **ADDRESS** can be an IP, an IP:port, or a path + to a file structured like resolv.conf. ## Examples @@ -33,6 +38,7 @@ Here we handle all service requests in the `prod` and `stage` federations. federation cluster.local { prod prod.feddomain.com staging staging.feddomain.com + upstream } } ~~~ @@ -45,6 +51,7 @@ cluster.local { federation { prod prod.feddomain.com staging staging.feddomain.com + upstream } } ~~~ |