Hi, I tried testing this with v1.1.2. You can access this still with this IP 192.168.58.228. At that time there were few problems with session affinity.
*How I test:* I created a session variable and incremented it if session already exist. In addition printed the ip of the pod. My observation is count incremented from 0 to some number(sometime 10, sometime 50 and so on) as expected, but suddenly moved the requests to another pod. May session affinity works in latest version On Mon, Feb 29, 2016 at 10:42 AM, Imesh Gunaratne <[email protected]> wrote: > Hi Nishadi, > > 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. >> > > Good work! Can you please elaborate how you verified session affinity in > the load test? > > Thanks > >> >> 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] >> > > > > -- > *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 > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
