Nginx ingress controller websocket support
问题 Recently I've been working on a toy app using Kubernetes. Part of the app is a web server that needs to support WebSockets. Currently, I'm using port-forwarding to access the web server and everything works just fine. I'd like to switch to using an Ingress and IngressController to avoid using the port forwarding. Here is my Ingress config: apiVersion: extensions/v1beta1 kind: Ingress metadata: name: app-ingress annotations: nginx.ingress.kubernetes.io/rewrite-target: / nginx.ingress