"registrator" of paths into consul should also allow weight parameter to be passed so that traffic can be balanced to env needs. Some services may be running on nodes with less resources. Right now, rebalancing is distributed evenly.
Enhancement example:
docker run -d
-e "SERVICE_TAGS=urlprefix-/hello-world:0"
--name hello_world_1 \
results in...
/hello-world
/hello_world_1 100%
adding another specific weighted service...
docker run -d
-e "SERVICE_TAGS=urlprefix-/hello-world:20"
--name hello_world_2 \
would result in...
/hello-world
/hello_world_1 80%
/hello_world_2 20%
"registrator" of paths into consul should also allow weight parameter to be passed so that traffic can be balanced to env needs. Some services may be running on nodes with less resources. Right now, rebalancing is distributed evenly.
Enhancement example:
results in...
adding another specific weighted service...
would result in...