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:
Chris O'Haver 2017-08-11 11:25:59 -04:00 committed by Miek Gieben
parent 241e3dbcb7
commit ebcbe66bbd

View file

@ -108,6 +108,15 @@ And finally we can connect to Kubernetes from outside the cluster:
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