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. So, that if two sessions are coming from same client IP. It may get served by two different pods.
Session Affinity in kubernetes based on Client session not on Client IP
826 Views Asked by Nish At
1
There are 1 best solutions below
Related Questions in KUBERNETES
- How to know a Pod's own IP address from inside a container in the Pod?
- Who will decide the "specified number of pods" for replication controller in kubernetes?
- Access other containers of a pod in Kubernetes
- Kubernetes cluster using Vagrant not working after restart
- kubectl not installed with gcloud SDK
- How do I access the Kubernetes api from within a pod container?
- Exposing several services with Vagrant and Kubernetes on my own server
- Does Kubernetes provision new VMs for pods on my cloud platform?
- Any suggestion for running Aerospike on Kubernetes on CoreOS on GCE?
- Kubernetes - kubectl exec bash - session drop and line width
- Google Container Engine (GKE): "Hello Wordpress" tutorial not working (ERR_CONNECTION_REFUSED)
- Kubernetes Pod Creation Speed
- How can i set max count of pods for replication-controller per node?
- Is there a way to tell kubernetes to update your containers?
- Postgres with Kubernetes and persistentDisk
Related Questions in KUBERNETES-HELM
- Why tiller connect to localhost 8080 for kubernetes api?
- Helm and configmap checksum annotations
- Kubernetes Helm is interpreting the same value as true from --set but false if in values file
- Can't delete a Stateful Set in Kubernetes
- Helm configuration file incorrectly used
- kubernetes rolling update using helm
- Kubernetes Helm Chart If Condition Check
- connect to shell terminal of other container in a pod
- Error creating load balancer with static IP on GKE with stable/traefik chart
- Kubernetes fission setup error
- Best practices of Export/Import Keycloak data in Kubernetes
- Set value conditionally depending on Helm (first) install or upgrade?
- Nginx Controller upgrade is failing on Kubernetes 1.16.10 cluster
- Will Helm v3 continue to work by manually adding the deprecated stable repo?
- When do I put a subchart in the charts/ directory, dependencies in Chart.yaml, or requirements.yaml in Helm?
Related Questions in KUBERNETES-INGRESS
- Global static IP name on NGINX Ingress
- Nginx Controller upgrade is failing on Kubernetes 1.16.10 cluster
- write ingress rule for application running with context-root
- How to remove the server header from Kubernetes deployed applications
- Back-off restarting failed container kubernetes
- Stickiness not working on request header for Ambassador in Kubernetes
- Get error "unknown field "serviceName" in io.k8s.api.networking.v1.IngressBackend" when switch from v1beta1 to v1 in Kubernetes Ingress
- Minikube Ingress (Nginx Controller) not working
- How to setup Kubernetes NLB Load Balancer with target group "IP" based [AWS]?
- Ingress for TCP ports, is it possible to route to different services using the same port number in a similar way NGINX routes for http ports?
- Ingress controller gives "Service does not have any active Endpoint" only when app deployed in different namespace from ingress controller
- ingress always showing default backend - 404
- Multiple services on same url in kubernetes
- Kubernetes Route to Service using Ingress hostname | Keycloak
- Configure two environment for kubernetes within Azure
Related Questions in SESSION-AFFINITY
- How do I implement session affinity with a Ingress controller using GCE load balancer
- master/minion alike for https://github.com/kubernetes/ingress-nginx
- Istio extension to provide session affinity among replicas without using consistent hash
- How to make Kubernetes service load balance based on client IP instead of NGINX reverse proxy IP
- Static websites hosted on storage accounts accessed through Azure Front Door not loaded properly
- Sticky sessions for socketIO nodejs app deployed on Google Cloud App Engine
- OpenShift service with sessionAffinity forwards traffic to two pods
- Kubernetes : why are my requests redirected to different pods although I set sessionAffinity to ClientIP?
- Does devise require session affinity?
- Gcloud load balancing to the same host for two TCP connections
- When using Network Load Balancer (GCP), what function is Client source IP among Session affinity functions?
- Session Affinity in kubernetes based on Client session not on Client IP
- GCE HTTPS load balancer session affinity
- How to set session affinity between inner servicess inside a Kubernetes cluster
- Suppress affinity cookie to force client to another Azure app node
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Ingress Session Affinity
The support for Session Affinity on Ingress request depends on the implementation of the Ingress Controller that you are using.
E.g. the of Kubernetes community provided Nginx Ingress Controller does support some session affinity based on cookies.