Commit Graph

7 Commits

Author SHA1 Message Date
Jana Radhakrishnan 8a225de00d Merge pull request #1205 from allencloud/fix-typos
use grep to find a/an misuse
2016-08-01 09:49:31 -07:00
Jana Radhakrishnan d2cc81c023 Make sure to close nshandle in ipvs.New
Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
2016-06-13 15:09:02 -07:00
Jana Radhakrishnan 1dbff60121 Do not panic if failed to get ipvs family
Instead log a descriptive error message.

Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
2016-06-10 08:33:19 -07:00
Jana Radhakrishnan 0f89c9b7bc Add ingress load balancer
Ingress load balancer is achieved via a service sandbox which acts as
the proxy to translate incoming node port requests and mapping that to a
service entry. Once the right service is identified, the same internal
loadbalancer implementation is used to load balance to the right backend
instance.

Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
2016-06-04 20:38:32 -07:00
allencloud 9f415d0cdb use grep to find a/an misuse
Signed-off-by: allencloud <allen.sun@daocloud.io>
2016-06-03 16:35:33 +08:00
Jana Radhakrishnan d05adebf30 Add loadbalancer support
This PR adds support for loadbalancing across a group of endpoints that
share the same service configuration as passed in by
`OptionService`. The loadbalancer is implemented using ipvs with just
round robin scheduling supported for now.

Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
2016-05-26 13:05:58 -07:00
Jana Radhakrishnan 4b549ce428 Add IPVS netlink support
This PR adds netlink support to manipulate ipvs configuration.

Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
2016-05-24 22:48:19 -07:00