On Mon, Feb 29, 2016 at 11:56 AM, Imesh Gunaratne <[email protected]> wrote:

> Hi Lakmal,
>
> On Mon, Feb 29, 2016 at 11:37 AM, Lakmal Warusawithana <[email protected]>
>  wrote:
>
>> Hi,
>>
>> What is we are tying to do here? Are we trying to verify the ClientIP
>> when exposing service via NodePort? IMO its working without issue.
>>
>> Yes the first step was to verify ClientIP and then try to get an Ingress
> Controller either with nginx or haproxy working with session affinity.
>
>
If you want to verify ClientIP, Udara has written very simple code, better
to used that.

Guys, we need to resolve this very fast... too much time taking basic
stuff, which we already verified :(


> Thanks
>
> On Mon, Feb 29, 2016 at 11:37 AM, Lakmal Warusawithana <[email protected]>
> wrote:
>
>> Hi,
>>
>> What is we are tying to do here? Are we trying to verify the ClientIP
>> when exposing service via NodePort? IMO its working without issue.
>>
>>
>> On Sun, Feb 28, 2016 at 11:58 PM, Nishadi Kirielle <[email protected]>
>> wrote:
>>
>>> Hi all,
>>>
>>> In order to test the session affinity in Kubernetes, I have deployed
>>> WordPress on a kubernetes cluster with several replicas and enabled the
>>> session affinity by setting  service.spec.sessionAffinity to "ClientIP".
>>> When the kubernetes service is exposed through NodePort, I have tested the
>>> accuracy of session affinity using Apache bench mark for simple load
>>> testing. With a load of 1000 requests and a maximum of 2 requests running
>>> concurrently, all requests returned successfully without a failure. Thus
>>> the session affinity is functioning properly when the services are exposed
>>> via NodePort.
>>>
>>> The next attempt is to test the session affinity with ingress API
>>> exposing the services.
>>>
>>> Any feedback or suggestions are highly appreciated.
>>>
>>> Thanks
>>>
>>> --
>>> *Nishadi Kirielle*
>>> *Software Engineering Intern*
>>> Mobile : +94 (0) 714722148
>>> Blog : http://nishadikirielle.blogspot.com/
>>> [email protected]
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Lakmal Warusawithana
>> Director - Cloud Architecture; WSO2 Inc.
>> Mobile : +94714289692
>> Blog : http://lakmalsview.blogspot.com/
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Imesh Gunaratne*
> Senior Technical Lead
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: http://imesh.io
> Lean . Enterprise . Middleware
>
>


-- 
Lakmal Warusawithana
Director - Cloud Architecture; WSO2 Inc.
Mobile : +94714289692
Blog : http://lakmalsview.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to