skip to Main Content

Redis – flask-socketio in kubernetes, ingress and multiple replicas

i'm running a flask-socketio behind an ingress. here's the config: socketio = SocketIO(app, message_queue='redis://redis-server.domain:6379') in the dockerfile, it runs like so: CMD ["gunicorn", "-k", "geventwebsocket.gunicorn.workers.GeventWebSocketWorker", "-w", "4", "--bind", "0.0.0.0:2731", "app:app"] and the ingress is configured like this: nginx.ingress.kubernetes.io/affinity: "cookie" nginx.ingress.kubernetes.io/enable-ssl-passthrough:…

VIEW QUESTION
Back To Top
Search