Scaling Marimo docker image horizentally raises "Invalid session id" response
I'm trying to deploy marimo using a docker image on kubernetes but when I have two pods running at the same time, I recieve an "Error to instanciate" due to "Invalid session id".
Have somoene succeeded to scale Marimo horizentally?
4 Replies
Someone will reply to you shortly. In the meantime, this might help:
You may need to set up websocket affinity
Can I have more details or an example please ?
Posted the query on gurubase; sharing the chat here - https://gurubase.io/g/marimo/fix-invalid-session-id-marimo-kubernetes
Hope it's relevant; do not have experience in Ops frameworks.
Came across a decent kubernetes resource which could aid in someway - https://github.com/headlamp-k8s/headlamp
How to fix 'Invalid session id' in Marimo on Kubernetes? | Gurubase
Learn how to resolve 'Invalid session id' errors when scaling Marimo on Kubernetes by setting up websocket affinity.