Questions tagged [session-affinity]

Use session-affinity for questions related to establishing and persisting the relationship between a client request and a specific server for the duration of a session

References

40 questions
0
votes
1 answer

How to make Kubernetes service load balance based on client IP instead of NGINX reverse proxy IP

I have configured NGINX as a reverse proxy with web sockets enabled for a backend web application with multiple replicas. The request from NGINX does a proxy_pass to a Kubernetes service which in turn load balances the request to the endpoints…
0
votes
1 answer

Kubernetes : why are my requests redirected to different pods although I set sessionAffinity to ClientIP?

In my headless service, I configure sessionAffinity so that connections from a particular client are passed to the same Pod each time as described here Here is the manifest : apiVersion: v1 kind: Service metadata: name: service1 spec: clusterIP:…
Abdelghani
  • 455
  • 2
  • 9
  • 19
0
votes
1 answer

How to find out if ASP.Net web application can handle cookie-based affinity?

I was reading this article about troubleshooting Azure Application Gateway Session Affinity Issues, and listed as a possible cause it states "My application cannot handle cookie-based affinity", how do I know if my ASP.Net web application can handle…
0
votes
1 answer

Force HAProxy server affinity with curl?

How can you force HAProxy server affinity with curl? With curl version 7.58 I've tried: curl -I \ --proxy-header "Cookie: SRV_ID=172.0.0.2" \ -x localhost:3001 \ https://postman-echo.com/headers I'm still getting round-robin,…
Drakes
  • 23,254
  • 3
  • 51
  • 94
0
votes
1 answer

Session Affinity in kubernetes based on Client session not on Client IP

I want to implement the sticky session for a stateful app in Kubernetes. I was able to do that using sessionAffinity: ClientIP but actually I am looking something in kubernetes which enables the session affinity on the client session using cookies.…
0
votes
1 answer

Setup of Azure Application Gateway on multiple sites

We have 2 Azure VMs running IIS and hosting 50+ .Net web applications (Webforms, MVC, WCF & ASMX). Both of the 2 VMs are identical and all sites are configured using a hostname ([subdomain].domain.com) on port 443 and requiring SSL. 11 of these…
0
votes
1 answer

Google Cloud: Health Check is not removing failed instance from UDP Internal Load Balancer

I'm working in a project to move our SIP infra. to GCP. I'm using an UDP Internal load balancer with a private IP to route calls from Asterisk to my Kamailio SBC, Asterisk is configured with the address IP of the load balancer as a single outgoing…
0
votes
1 answer

How do I implement session affinity with a Ingress controller using GCE load balancer

I have the following ingress config: ingressProd.yaml apiVersion: extensions/v1beta1 kind: Ingress metadata: name: wordpress annotations: kubernetes.io/ingress.class: "gce" spec: tls: - hosts: - ***.net secretName:…
0
votes
1 answer

Enabling session affinity on load balancer without clustering in websphere

We have a requirement to loadbalance 2 standalone WAS7 base version JVMs in two separate hosts. Both the JVMs will be served by a single IHS web server. We are not creating any cluster. In addition to configuring a unique HTTP session clone ID for…
0
votes
0 answers

Does devise require session affinity?

As I am using load balancer in my app, it becomes important to know whether devise uses cookie based authentication or only session based authentication? It would be great to use cookie based authentication, then I do not have to reserve the same…
simo
  • 23,342
  • 38
  • 121
  • 218
1 2
3