> > If I may chime in here: Kubernetes supports service discovery through DNS > SRV records for most use-cases, so the dynamic DNS support that Baptiste is > currently working on would be a perfect fit. No special API support > required.
Well dns would be great but, as far as i know, kubernetes uses dns only for services name, not for pods. A pod can be seen as a server in a backend, the number of servers and their ip addresses can change frequently. I'll dig further... Thanks, Smana 2015-09-18 13:58 GMT+02:00 Conrad Hoffmann <con...@soundcloud.com>: > If I may chime in here: Kubernetes supports service discovery through DNS > SRV records for most use-cases, so the dynamic DNS support that Baptiste is > currently working on would be a perfect fit. No special API support > required. > > Cheers, > Conrad > > On 09/18/2015 01:53 PM, Smain Kahlouch wrote: > > Hi Baptiste, > > > > How do you do ? :) > > > > Anyway my concern is more about changing dynamically parameters, by > > fetching a source at regular intervals (api) than about kubernetes > itself. > > > > Actually, i only have one need currently : the list of servers part of a > > backend. > > This is the only thing i want to change dinamically, the other parameters > > can be set on startup. > > When the server is configured for the first time i use Ansible to fetch > the > > api and retrieve the necessary information. > > > > I look forward to the new way to acheive that. > > > > Regards, > > Smana > > > > 2015-09-18 13:31 GMT+02:00 Baptiste <bed...@gmail.com>: > > > >> On Fri, Sep 18, 2015 at 10:49 AM, Smain Kahlouch <smain...@gmail.com> > >> wrote: > >>> Hello all, > >>> > >>> I guess this question has been posted many times but maybe there is > some > >> new > >>> way to achieve this. > >>> > >>> I'm currently testing kubernetes with calico and i configured a fixed > >>> loadbalancing using "NodePort" kubernetes loadbalancing. > >>> > >>> But i wanted to bypass that second kubernete's internal loadbalancing. > >>> The idea would be to loadbalance directly to the pods instead of a > >>> kubernetes service address. > >>> To do so i found the vulcan loadbalancer which seems to be well suited > >> for > >>> dynamic configuration. This documentation describes how it works. > >>> > >>> Is there a way to achieve the same behaviour : listen the api and > change > >>> backends dynamically ? > >>> > >>> Thanks for your help, > >>> > >>> Regards, > >>> Smana > >>> > >> > >> > >> Hey Smaine, > >> > >> I'm totally lost with all you buzz keywords! > >> > >> there is no way currently to achieve this purpose. > >> That said, we're aware of this type of requirements and are thinking > >> about different methods to achieve this goal. > >> > >> That said, could you please list here what HAProxy's parameters you > >> would like to see dynamically changeable at run time? > >> > >> Baptiste > >> > > > > -- > Conrad Hoffmann > Traffic Engineer > > SoundCloud Ltd. | Rheinsberger Str. 76/77, 10115 Berlin, Germany > > Managing Director: Alexander Ljung | Incorporated in England & Wales > with Company No. 6343600 | Local Branch Office | AG Charlottenburg | > HRB 110657B >