mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
Add Autopath section to k8s readme (#898)
The primary driver for autopath was kubernetes. It addresses a specific need in kubernetes, so it deserves a mention in the K8s README, with an example.
This commit is contained in:
committed by
Miek Gieben
parent
241e3dbcb7
commit
ebcbe66bbd
@@ -108,6 +108,15 @@ And finally we can connect to Kubernetes from outside the cluster:
|
|||||||
tls cert key cacert
|
tls cert key cacert
|
||||||
}
|
}
|
||||||
|
|
||||||
|
## Enabling server-side domain search path completion with *autopath*
|
||||||
|
|
||||||
|
The *kubernetes* middleware can be used in conjunction with the *autopath* middleware. Using this feature enables server-side domain search path completion in kubernetes clusters. Note: `pods` must be set to `verified` for this to function properly.
|
||||||
|
|
||||||
|
autopath @kubernetes
|
||||||
|
kubernetes cluster.local {
|
||||||
|
pods verified
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
## Wildcard
|
## Wildcard
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user