Open kherath17 opened 12 months ago
This issue is currently awaiting triage.
If Ingress contributors determines this is a relevant issue, they will accept it by applying the triage/accepted
label and provide further guidance.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
Which load balancer did you deploy in EKS? Do you have endpoints for the service?
/assign @strongjz
@strongjz apologies for the delayed response
Which load balancer did you deploy in EKS? - Nginx Load Balancer Do you have endpoints for the service? - We have shared end points with context paths
What happened: I have setup an ingress service to route requests to Selenium Grid on K8, even though the requests are reached to grid que, it timeouts after 2 minutes.
Returned below response and execution stopped
<head><title>504 Gateway Time-out</title></head>
<body>
<center>504 Gateway Time-out</center>
</body>
</html>
What you expected to happen: Ingress should honor the timeout values we have configured through below annotations :
nginx.ingress.kubernetes.io/proxy-connect-timeout: "3600"
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
NGINX Ingress controller version (exec into the pod and run nginx-ingress-controller --version.): v1.7.0
Kubernetes version (use
kubectl version
): v1.28.1Environment:
Cloud provider or hardware configuration: AWS
OS (e.g. from /etc/os-release): linux
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
->nginx-ingress-release default 1 2023-04-22 17:30:21.803047 +0530 +0530 deployed ingress-nginx-4.4.2 1.5.1helm -n <ingresscontrollernamepspace> get values <helmreleasename>
Current State of the controller:
kubectl describe ingressclasses
Name: nginx Labels: app.kubernetes.io/component=controller app.kubernetes.io/instance=nginx-ingress-release app.kubernetes.io/managed-by=Helm app.kubernetes.io/name=ingress-nginx app.kubernetes.io/part-of=ingress-nginx app.kubernetes.io/version=1.5.1 helm.sh/chart=ingress-nginx-4.4.2 Annotations: ingressclass.kubernetes.io/is-default-class: true meta.helm.sh/release-name: nginx-ingress-release meta.helm.sh/release-namespace: default Controller: k8s.io/ingress-nginx Events: nonekubectl -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: Setup Selenium Grid on K8 including below ingress and when requests are routed to Selenium Grid it should honor the timeouts mentioned
Sample Ingress File
apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: qlabv2-ingress annotations: `kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/rewrite-target: /$2 nginx.ingress.kubernetes.io/use-regex: "true" nginx.ingress.kubernetes.io/proxy-connect-timeout: "3600" nginx.ingress.kubernetes.io/proxy-read-timeout: "3600" nginx.ingress.kubernetes.io/proxy-send-timeout: "3600" spec: rules:
Anything else we need to know: