* Remove Compress by default Set Compress = true in Scrub only when the message doesn not fit the advertized buffer. Doing compression is expensive, so try to avoid it. Master vs this branch pkg: github.com/coredns/coredns/plugin/cache BenchmarkCacheResponse-2 50000 24774 ns/op pkg: github.com/coredns/coredns/plugin/cache BenchmarkCacheResponse-2 100000 21960 ns/op * and make it compile |
||
---|---|---|
.. | ||
federation.go | ||
federation_test.go | ||
kubernetes_api_test.go | ||
OWNERS | ||
README.md | ||
setup.go | ||
setup_test.go |
federation
Name
federation - enables federated queries to be resolved via the kubernetes plugin.
Description
Enabling this plugin allows Federated queries to be resolved via the kubernetes plugin.
Enabling federation without also having kubernetes is a noop.
Syntax
federation [ZONES...] {
NAME DOMAIN
}
- Each NAME and DOMAIN defines federation membership. One entry for each. A duplicate NAME will silently overwrite any previous value.
Examples
Here we handle all service requests in the prod
and stage
federations.
. {
kubernetes cluster.local
federation cluster.local {
prod prod.feddomain.com
staging staging.feddomain.com
}
}
Or slightly shorter:
cluster.local {
kubernetes
federation {
prod prod.feddomain.com
staging staging.feddomain.com
}
}