Re: [Dev] Configuring load balancing in app cloud with HA Proxy

2016-04-11 Thread Nishadi Kirielle
Hi, The limitation is there with the service load balancer. If we are going with that approach we need to patch kubernetes service load balancer code to annotate the services with port definitions. The current approach taken is to create two services for https and http. We can use the node ports

Re: [Dev] Configuring load balancing in app cloud with HA Proxy

2016-04-07 Thread Imesh Gunaratne
On Wed, Mar 16, 2016 at 10:49 AM, Nishadi Kirielle wrote: > > > In the current deployment, we have tested a service with a single port > exposed. This is because the service identifies whether this is exposed to > http or https through the service annotation which is common to

Re: [Dev] Configuring load balancing in app cloud with HA Proxy

2016-04-07 Thread Nishadi Kirielle
Hi all, Please find the below blogpost as a guide to deploy a HAProxy pod in Kubernetes cluster. [1] Regards Nishadi [1]. http://nishadikirielle.blogspot.com/2016/04/configuring-haproxy-load-balancer-for.html On Thu, Mar 17, 2016 at 12:25 PM, Nishadi Kirielle wrote: > Hi, >

Re: [Dev] Configuring load balancing in app cloud with HA Proxy

2016-03-19 Thread Udara Liyanage
On Wed, Mar 16, 2016 at 10:49 AM, Nishadi Kirielle wrote: > Hi all, > I have configured load balancing in AppCloud staging with HAProxy. > In the configuration I have done few changes in the kubernetes service > loadbalancer. [1] > > Do we create certificates for IP addresses?

Re: [Dev] Configuring load balancing in app cloud with HA Proxy

2016-03-19 Thread Nishadi Kirielle
Hi, The IP addresses have been used to generate certs only for the development purposes. We'll update these with proper certs when it is going for production. Thanks On Thu, Mar 17, 2016 at 12:03 PM, Udara Liyanage wrote: > > > On Wed, Mar 16, 2016 at 10:49 AM, Nishadi Kirielle

Re: [Dev] Configuring load balancing in app cloud with HA Proxy

2016-03-15 Thread Nishadi Kirielle
Hi all, I have configured load balancing in AppCloud staging with HAProxy. In the configuration I have done few changes in the kubernetes service loadbalancer. [1] In order to run the haproxy load balancer in kubernetes and provide support for https traffic, we need to add the SSL certificate

Re: [Dev] Configuring load balancing in app cloud with HA Proxy

2016-03-13 Thread Nishadi Kirielle
Hi all, +1 for going with SSL pass through approach. Once the testing with staging is done, I will focus on this approach. Thanks On Mon, Mar 14, 2016 at 10:29 AM, Manjula Rathnayake wrote: > Hi Imesh, > > On Mon, Mar 14, 2016 at 10:20 AM, Imesh Gunaratne

Re: [Dev] Configuring load balancing in app cloud with HA Proxy

2016-03-13 Thread Manjula Rathnayake
Hi Imesh, On Mon, Mar 14, 2016 at 10:20 AM, Imesh Gunaratne wrote: > Hi Manjula, > > On Mon, Mar 14, 2016 at 10:06 AM, Manjula Rathnayake > wrote: > >> Hi Imesh, >> >> On Mon, Mar 14, 2016 at 9:56 AM, Imesh Gunaratne wrote: >> >>> >>> On Sun,

Re: [Dev] Configuring load balancing in app cloud with HA Proxy

2016-03-13 Thread Imesh Gunaratne
Hi Manjula, On Mon, Mar 14, 2016 at 10:06 AM, Manjula Rathnayake wrote: > Hi Imesh, > > On Mon, Mar 14, 2016 at 9:56 AM, Imesh Gunaratne wrote: > >> >> On Sun, Mar 13, 2016 at 11:36 PM, Nishadi Kirielle >> wrote: >> >>> Hi all, >>>

Re: [Dev] Configuring load balancing in app cloud with HA Proxy

2016-03-13 Thread Manjula Rathnayake
Hi Imesh, On Mon, Mar 14, 2016 at 9:56 AM, Imesh Gunaratne wrote: > > > On Sun, Mar 13, 2016 at 11:36 PM, Nishadi Kirielle > wrote: > >> Hi all, >> Currently I'm working on configuring HAProxy load balancing support for >> app cloud. >> In checking the session

Re: [Dev] Configuring load balancing in app cloud with HA Proxy

2016-03-13 Thread Imesh Gunaratne
On Sun, Mar 13, 2016 at 11:36 PM, Nishadi Kirielle wrote: > Hi all, > Currently I'm working on configuring HAProxy load balancing support for > app cloud. > In checking the session affinity functionality in kuberenetes, I have > verified the load balancing of http traffic with

[Dev] Configuring load balancing in app cloud with HA Proxy

2016-03-13 Thread Nishadi Kirielle
Hi all, Currently I'm working on configuring HAProxy load balancing support for app cloud. In checking the session affinity functionality in kuberenetes, I have verified the load balancing of http traffic with HAProxy. It could be done using kubernetes contribution repo, 'service loadbalancer'