LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] LVS and docker containers

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] LVS and docker containers
From: alxmlpz@xxxxxxxxx
Date: Fri, 14 Aug 2015 10:00:27 -0700
Ok  can u also post the output of this command : ipvsadm -ln  :)  

Sent from my iPhone

> On Aug 14, 2015, at 9:05 AM, Tim Hockin <thockin@xxxxxxxxxx> wrote:
> 
> I'm really totally new to ipvs.
> 
> ipvsadm -A -t 10.10.10.10:1010 -s rr
> ipvsadm -a -t 10.10.10.10:1010 -r 10.244.0.7:9376 -m
> ipvsadm -a -t 10.10.10.10:1010 -r 10.244.1.4:9376 -m
> 
> When I access 10.10.10.10:1010 I get those two backends.  WAY simpler
> than the iptables equivalent.
> 
> But if I do 'docker run -ti busybox wget -qO- 10.10.10.10:1010 it just
> hangs', whereas iptables works.
> 
> I'm also wrestling with port rewrites without MASQ, but I'll cross
> that bridge if I can get it to work with MASQ
> 
> 
>> On Fri, Aug 14, 2015 at 7:16 AM,  <alxmlpz@xxxxxxxxx> wrote:
>> Can u send the config ?
>> 
>> Sent from my iPhone
>> 
>>> On Aug 13, 2015, at 10:30 PM, Tim Hockin <thockin@xxxxxxxxxx> wrote:
>>> 
>>> Not sure how active LVS is these days, but it seems to maybe scratch an 
>>> itch.
>>> 
>>> I want to set up a VIP with some number of real servers.  I want that
>>> VIP to be available to docker containers which run in distinct network
>>> namespaces.  It doesn't seem to work, but maybe I am missing
>>> something?
>>> 
>>> I have implemented this in pure iptables, but it is complex.  IPVS
>>> seems cleaner...
>>> 
>>> Tim
>>> 
>>> _______________________________________________
>>> Please read the documentation before posting - it's available at:
>>> http://www.linuxvirtualserver.org/
>>> 
>>> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
>>> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
>>> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>> 
>> _______________________________________________
>> Please read the documentation before posting - it's available at:
>> http://www.linuxvirtualserver.org/
>> 
>> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
>> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
>> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
> 
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
> 
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>