aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-10-20plugin/kubernetes: implement HasSynced() (#1155)Gravatar Miek Gieben 8-19/+29
* plugin/kubernetes: wait until api is ready Wait for HasSynced before allowing startup to avoid startup race. Also do a small refactor in findServices() to pull a check out of the loop - only needs to be done once. * sigh
2017-10-17Plugin/Kubernetes: Service and Endpoint Indexing (#1149)Gravatar Sandeep Rajan 9-24/+425
* indexing * corrections
2017-10-15plugin/proxy: kick of HC on every 3rd failure (#1110)Gravatar Miek Gieben 1-13/+2
* healthchecks: check on every 3rd failure Check on every third failure and some cleanups to make this possible. A failed healthcheck will never increase Fails, a successfull healthceck will reset Fails to 0. This is a chance this counter now drops below 0, making the upstream super? healthy. This removes the okUntil smartness and condences everything back to 1 metrics: Fails; so it's simpler in that regard. Timout errors are *not* attributed to the local upstream, and don't get counted into the Fails anymore. Meaning the 'dig any isc.org' won't kill your upstream. Added extra test the see if the Fails counter gets reset after 3 failed connection. There is still a disconnect beween HTTP healthceck working the proxy (or lookup) not being able to connect to the upstream. * Fix tests
2017-10-10doc update (#1140)Gravatar Miek Gieben 1-0/+1
* doc update Go through all README and fix mistakes, extend example and let more corefile snippets be test for validity. * Cant use spefic addr in test
2017-09-29plugin/kubernetes: Enable protobuf, Update client api package (#1114)Gravatar Chris O'Haver 13-467/+328
* vendor * code
2017-09-24healhcheck: various cleanups (#1106)Gravatar Miek Gieben 2-5/+3
* healhcheck: various cleanups Network wasn't used. IgnorePaths wasn't used. Move checkdown function to common function shared between proxy protocols. And some naming fixed. Also reset the Fails on a succesful healthcheck back to 0. remove newlines from log * compile * fix test
2017-09-21Fix autopath crash when pods verified not enabled (#1099)Gravatar John Belamaric 1-0/+3
2017-09-21pkg: add dnstest (#1098)Gravatar Miek Gieben 6-12/+12
Add a full test server impl in this new package + tests. Move dnsrecorder into this package as well and finish up the commented out tests that were left in the old dnsrecorder package. Update all callers and tests.
2017-09-15plugin: README.md updates (#1084)Gravatar Miek Gieben 1-2/+3
updates so the look better on coredns.io
2017-09-14Remove the word middleware (#1067)Gravatar Miek Gieben 25-0/+3445
* Rename middleware to plugin first pass; mostly used 'sed', few spots where I manually changed text. This still builds a coredns binary. * fmt error * Rename AddMiddleware to AddPlugin * Readd AddMiddleware to remain backwards compat