DEV Community

Discussion on: Sticky session in Kubernetes - Hello World!

Collapse
 
sohailshaikh001 profile image
Sohail Shaikh

Thank you for the excellent article. As you have mentioned about application-level session replication, currently, I am having the same problem with POD and application sessions.
I have a pod running a Tomcat server, and when the pod dies, the user gets logged out. How do we handle this? (We are using Azure Kubernetes Services)
Any reference, or suggestions will be helpful--
Thanks

Collapse
 
ucfhord profile image
ucfhord • Edited

You may have found a solution since your post, but to comply with containerized application best practices, we can use of third party storage for session data like Redis and cookie info (or other alternative if cookies are disabled).