1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

weighted scheduling methods constants for ipvs

Signed-off-by: Jakub Drahos <jack.drahos@gmail.com>
This commit is contained in:
jdrahos 2019-09-24 18:15:31 -04:00 committed by Jakub Drahos
parent 141b53c77a
commit 4d1db69bcc

View file

@ -144,6 +144,17 @@ const (
// a statically assigned hash table by their source IP
// addresses.
SourceHashing = "sh"
// WeightedRoundRobin assigns jobs to real servers proportionally
// to there real servers' weight. Servers with higher weights
// receive new jobs first and get more jobs than servers
// with lower weights. Servers with equal weights get
// an equal distribution of new jobs
WeightedRoundRobin = "wrr"
// WeightedLeastConnection assigns more jobs to servers
// with fewer jobs and relative to the real servers' weight
WeightedLeastConnection = "wlc"
)
const (