aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Francois Tur <ftur@infoblox.com> 2018-04-06 10:53:08 -0400
committerGravatar Miek Gieben <miek@miek.nl> 2018-04-06 15:53:08 +0100
commit5a546f743e2d694524db8d5ce02415f53d6cd045 (patch)
treee8e7a21836c72044dbd65aad424275246a7aa8cc
parente46ee9d9cc197d74dac0cb6e8432f83d4f43d1a6 (diff)
downloadcoredns-5a546f743e2d694524db8d5ce02415f53d6cd045.tar.gz
coredns-5a546f743e2d694524db8d5ce02415f53d6cd045.tar.zst
coredns-5a546f743e2d694524db8d5ce02415f53d6cd045.zip
Plugin/Proxy - update README (#1658)
* - adding policy first in the policies description * - fix number of policies available
-rw-r--r--plugin/proxy/README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/proxy/README.md b/plugin/proxy/README.md
index 43a086ab8..d81a2ebc1 100644
--- a/plugin/proxy/README.md
+++ b/plugin/proxy/README.md
@@ -60,10 +60,12 @@ proxy FROM TO... {
## Policies
-There are three load-balancing policies available:
+There are four load-balancing policies available:
* `random` (default) - Randomly select a backend
* `least_conn` - Select the backend with the fewest active connections
* `round_robin` - Select the backend in round-robin fashion
+* `first` - Select the first available backend looking by order of declaration from left to right
+
All polices implement randomly spraying packets to backend hosts when *no healthy* hosts are
available. This is to preeempt the case where the healthchecking (as a mechanism) fails.