mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 16:54:15 -04:00
Plugin/Proxy - update README (#1658)
* - adding policy first in the policies description * - fix number of policies available
This commit is contained in:
committed by
Miek Gieben
parent
e46ee9d9cc
commit
5a546f743e
@@ -60,10 +60,12 @@ proxy FROM TO... {
|
|||||||
|
|
||||||
## Policies
|
## Policies
|
||||||
|
|
||||||
There are three load-balancing policies available:
|
There are four load-balancing policies available:
|
||||||
* `random` (default) - Randomly select a backend
|
* `random` (default) - Randomly select a backend
|
||||||
* `least_conn` - Select the backend with the fewest active connections
|
* `least_conn` - Select the backend with the fewest active connections
|
||||||
* `round_robin` - Select the backend in round-robin fashion
|
* `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
|
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.
|
available. This is to preeempt the case where the healthchecking (as a mechanism) fails.
|
||||||
|
|||||||
Reference in New Issue
Block a user