-
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
(113: Host is unreachable) while connecting to upstream #8081
Comments
@tholvoleak: 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. |
(1) Duplicate of #8079 (2) 502 response is correct because there is nothing served at that path. Try / as path (3) It may help to consider the suggestion made in that other issue this is a basic functionality of the ingress-nginx-controller. So its not a bug and it seems like you are asking for support. Please discuss in the ingress-nginx-users channel at kubernetes.slack.com. You can register if required at slack.k8s.io . Later if you find a bug or a problem, you can reopen this issue. So i will close for now. Thanks. (4) You can read the docs at https://kubernetes.io/docs/concepts/services-networking/ingress/ and https://kubernetes.github.io/ingress-nginx/examples/ /remove-kind bug |
When I tried path /, it's working (404 Not Found) but not route to pod.
So, It should work with that path /demo, right? |
I did allow network policies on that namespace. but still not work
|
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: 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. |
Hi @tholvoleak |
The logs:
means that nginx is accessing at application since the endpoint This socket, is the endpoint of you service. You can see it, do it:
In this case, is the endpoints of service For test it, entry in the pod of ingress controller and checks the connection.
As we see exactly , this cannot access. You look that IP has the service
And as we see, the pod has access. With the ClusterIP and Port of the service. So that a solution would be do the follow. You must tell at Ingress, that uses the ClusterIP:port instead of use endpoints list of ingress controller. For this you edit the Ingress resource and add the follow
FYI Service Upstream¶By default the Ingress-Nginx Controller uses a list of all endpoints (Pod IP/port) in the NGINX upstream configuration. The This can be desirable for things like zero-downtime deployments . See issue #257. Known Issues¶If the
|
This commit adds the annotation parameter inside the ingress example in the "Ingress NGINX" README paragraph. This is not needed while using EL distributions, but without it Ubuntu ingresses won't work, as explained in this issue [1]. Fixes: #1 [1] kubernetes/ingress-nginx#8081
annotations: did work, |
Hi I am a new kubernestes user, I have set up RKE Kubernetes cluster, I have tried to deploy an application and create ingress to expose external access. but I got an issue with "502 Bad Gateway".
cat nginx-app.yml
cat nginx-service.yml
cat nginx-ingress.yml
kubectl get pod -o wide
kubectl get svc -o wide
kubectl get ingress -o wide
curl http://10.*.*.207/demo
Error logs of pod nginx-ingress controller
I tested curl from nginx-ingress-controller pod to that service "nginx-service:8080" it's working well. but it not work when i curl to node ip (I set up single node only 10...207)
Anyone helps me to solve this problem please?
The text was updated successfully, but these errors were encountered: