mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 10:43:17 -04:00
Spray to backend hosts when all are unhealthy (#171)
When all backend hosts are unhealthy, randomly select one and use that as a target. This is to preempt the health checking itself failing.
This commit is contained in:
@@ -45,6 +45,9 @@ There are three load balancing policies available:
|
||||
* *least_conn* - Select backend with the fewest active connections
|
||||
* *round_robin* - Select backend in round-robin fashion
|
||||
|
||||
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.
|
||||
|
||||
## Examples
|
||||
|
||||
Proxy all requests within example.org. to a backend system:
|
||||
|
||||
Reference in New Issue
Block a user