-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ingress controller not supporting Server-Sent Events - zero documentation to help with this. #10728
Comments
This issue is currently awaiting triage. If Ingress contributors determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/remove-kind bug There are less people here for this but you may get useful comments on kubernetes.slack in the ingress-nginx-users channel. Signup at slack.k8s.io if required. Also if this turns out to be a bug or a new-feature, the description is better with answers to the questions asked in the template. Actually if you can paste a link to what exactly is server-sent event, it may throw more light on the context with HTTP/HTTPS protocol specs and thus relate more directly to ingress. Generall for things like websockets or headers, the controller works out of the box. So the error message in the controller pod logs could point to something that relates directly between server-sent event and HTTP/HTTPS via the controller. |
Would you mind creating a doc PR for this ? Using this as a reference should aid you with a Ingress object that should work: |
/triage needs-information |
Thank you for all inputs. It turns out a rather vital piece of data had been left out of the DB and after discovering this the frontend worked. The issue had nothing to do with the Ingress nor SSE. |
@martinmclarnon would you mind closing the issue of the issue is resolved? |
/close |
@longwuyuan: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What happened:
What you expected to happen:
NGINX Ingress controller version (exec into the pod and run nginx-ingress-controller --version.):
Kubernetes version (use
kubectl version
):Environment:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g.
uname -a
):Install tools:
Please mention how/where was the cluster created like kubeadm/kops/minikube/kind etc.
Basic cluster related info:
kubectl version
kubectl get nodes -o wide
How was the ingress-nginx-controller installed:
helm ls -A | grep -i ingress
helm -n <ingresscontrollernamepspace> get values <helmreleasename>
Current State of the controller:
kubectl describe ingressclasses
kubectl -n <ingresscontrollernamespace> get all -A -o wide
kubectl -n <ingresscontrollernamespace> describe po <ingresscontrollerpodname>
kubectl -n <ingresscontrollernamespace> describe svc <ingresscontrollerservicename>
Current state of ingress object, if applicable:
kubectl -n <appnnamespace> get all,ing -o wide
kubectl -n <appnamespace> describe ing <ingressname>
Others:
kubectl describe ...
of any custom configmap(s) created and in useHow to reproduce this issue:
Anything else we need to know:
Frontend Angular application calls a Server-Sent Event. This works until the application is served via an Ingress Controller. There is zero documentation to aid with the correct list of annotations to make this work. There is a reference on this site to a change to the code to add an annotation "eventsource" that is binary but this is not included in the list of acceptable annotations. This is preventing the release to a client and I need to get this working. Any help is greatly appreciated.
The text was updated successfully, but these errors were encountered: