Replies: 1 comment 3 replies
-
Sounds like you’re not using the database but instead SQLite, or have some secrets misconfigured. But definitely a config issue on your end! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Session invalidation when scaling Kratos replicas in Kubernetes
Environment
Description
When scaling Ory Kratos from 1 to multiple replicas in a Kubernetes environment, sessions become invalid intermittently. While the root cause is not yet determined, one hypothesis is that it might be related to session cache inconsistency between replicas, though this is purely speculative and needs validation.
Steps to Reproduce
Current Behavior
Expected Behavior
Sessions should remain valid regardless of which replica handles the request.
Configuration
Service architecture:
Additional Context
Attempted Solutions
Questions
Has anyone successfully run Ory Kratos with multiple replicas in a Kubernetes environment? We're experiencing session invalidation issues when scaling beyond a single replica, and would greatly appreciate any insights or recommendations from the community regarding horizontal scaling of Kratos.
Relevant Links
Config files / Logs
Please advise what further config files and logs would be helpful, and I'll provide them.
Beta Was this translation helpful? Give feedback.
All reactions