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

Nginx ingress controller returns 404

I am trying to create Ingress for my kubernetes service. I am using minikube running on WSL2. Here are my deployment, service and ingress settings apiVersion: apps/v1 kind: Deployment metadata: name: {{.Chart.Name}}-backend labels: app: {{.Chart.Name}}-backend spec: replicas: {{ .Values.replicas }}…

VIEW QUESTION
Back To Top
Search