Frequent Disconnection and re-connection of web socket requests after deployment in the K8s Frequent Disconnection and re-connection of web socket requests after deployment in the K8s kubernetes kubernetes

Frequent Disconnection and re-connection of web socket requests after deployment in the K8s


You need to apply following annotations for Ingress with websocket protocol. See example here:

nginx.ingress.kubernetes.io/proxy-read-timeout: 3600nginx.ingress.kubernetes.io/proxy-send-timeout: 3600


This issue was solved by using the traefik controller which is an advanced controller instead of nginx ingress controller.