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
I could not find a documentation that specifies how Kubernetes service behaves when the affiliated deployment is scaled with multiple replicas.
I'm assuming there's some sort of load balancing. Is it related to the service type?
Also, I would want…
OpenShift Container Platform 3.11
Assume a setup with one client pod and three equal server pods in the same namespace. The server pods are available via a service:
apiVersion: v1
kind: Service
metadata:
name: server
spec:
ports:
…
Here is my problem: I have 3 services defined in a kubernetes yaml file:
one front-end (website)
one back-end : stateful, for user sessions
one back-end : stateless
I need session affinity on the stateful service, but not on the stateless nor…
I have a HTTPS load balancer configured with one backend service and 3 instance groups:
Endpoint protocol: HTTPS Named port: https Timeout: 600 seconds Health check: ui-health2 Session affinity: Generated cookie Affinity cookie TTL: 0 seconds …
What are the differences between using an nginx ingress with the session affinity annotations (as below example) and a service with the service.spec.sessionAffinity set to ClientIP.
From what I understand, both reach the same goal but I wonder if…
According to the Heroku documentation when session affinity is turned on and number of Dynos (nodes) scales up the existing traffic is evenly distributed to the new Dynos.
This has affect that client of 'old' Dynos are assigned to the Dynos they…
As per 3GPP specifications, the UE(Mobile) should send the first REGISTER request over unsecured port of P-CSCF which is 5060 and the subsequent REGISTER request should be sent on the different port(secured port of P-CSCF) which is received in the…
First of all request goes to proxy service that i've implemented, service forwards request to pods randomly without using sessionAffinity. I want to send requests to same pod based on custom value that i've set in request parameters using post…
TL;DR: I want to setup cookie-based session affinity in K8s over the nginx-ingress controller with SSL passthrough - can this be done?
Hey all,
I have a working Azure Kubernetes Service (AKS) running (1.11.3) and have configured the NGINX-Ingress…
I have a VPC with two EC2 instances in different availability zones. Clients connect to my application via HTTPS. I've been attempting to set up load balancing between the two application nodes, which require session affinity.
Initially I used an…
My use case:
I have a web application served by an Elastic Load Balancer which is in front of 1 EC2 instance.
The architecture aims to simulate a Blue/Green deployment flow, meaning that I will turn on a second instance when I need to update code…
I have stateless web applications deployed to Azure App Service and have ARR Affinity disabled in the Application Settings. Is it possible to leave this disabled, but enable it for specific requests?
I came across a post by benjaminperkins from…
My web application is deployed on Azure App Service with multiple instances (scale out). It has a an API to generate a report. I want that a request to this API only go to a specific instance.
So I am thinking about writing a Javascript code to…
I am running 4 replicas of the bf-v instance. I am using ClientIP as a sessionAffinity.
I want to distribute requests based on the client IP address, but also distribute client IPs evenly (round-robin based) across replicas. I want pods to have the…
We´re using an haproxy ingress in our kuberntes cluster with cookie affinity for sticky session handling.
The ingress configuration like this:
ingress.kubernetes.io/affinity: cookie
ingress.kubernetes.io/session-cookie-keywords: indirect nocache…