Deploy Streamlit using Kubernetes

Hi All,

Iโ€™ve just read this tutorial

Iโ€™m just wondering if anyone has tried this setting for replicas to be scaled > 1? any problem?

Thank you

It performs very badly because the cache is not shared. Maybe also the websocket or other state is getting confused.

my suggestion is to pin the sessions to a specific pods, for example with nginx ingress Annotations - Ingress-Nginx Controller