mirror of
https://github.com/coredns/coredns.git
synced 2025-12-07 02:45:11 -05:00
plugins: expand examples (#1077)
* plugins: expand examples Expand some examples and test them by annotating it with `corefile` * Can't start kubernetes * Can test pprof :(
This commit is contained in:
@@ -20,9 +20,9 @@ federation [ZONES...] {
|
||||
|
||||
Here we handle all service requests in the `prod` and `stage` federations.
|
||||
|
||||
~~~ txt
|
||||
~~~
|
||||
. {
|
||||
kubernetes cluster.local
|
||||
kubernetes cluster.local
|
||||
federation cluster.local {
|
||||
prod prod.feddomain.com
|
||||
staging staging.feddomain.com
|
||||
@@ -32,7 +32,7 @@ Here we handle all service requests in the `prod` and `stage` federations.
|
||||
|
||||
Or slightly shorter:
|
||||
|
||||
~~~ txt
|
||||
~~~
|
||||
cluster.local {
|
||||
kubernetes
|
||||
federation {
|
||||
|
||||
Reference in New Issue
Block a user