Get help from the marimo community

Updated last month

Scaling Marimo docker image horizentally raises "Invalid session id" response

At a glance

The community member is trying to deploy Marimo, a Docker image, on Kubernetes, but is encountering an "Error to instanciate" due to "Invalid session id" when scaling to two pods. Another community member suggests setting up websocket affinity, but the original poster requests more details or an example. The original poster also mentions posting the query on Gurubase and finding a Kubernetes resource that could be helpful, but does not have experience with Ops frameworks.

Useful resources
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?
A
T
H
3 comments
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 -
Add a reply
Sign up and join the conversation on Discord