fabric8-services / fabric8-jenkins-proxy

Apache License 2.0
1 stars 16 forks source link

Scale down proxy to 1 #295

Closed chmouel closed 6 years ago

chmouel commented 6 years ago

We have seen some issues with proxy, as described by @sthaha :

@aslak do you know if the openshift LB when we scale the pods  would inspect the requests for cookies  and direct it the same pod that handled the request earlier? 
I am asking this because we have scaled the jenkins-proxy to 3 pods and the state if the user is authenticated is maintained in memory of each pod and if the proxy finds if the cookie isn't in the in-memory cache, it would delete the cookie, forcing a re-authentication.

Let scale down the proxy to 1 until we figured it out