-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Nginx Ingress does not route on Docker for Mac #2415
Comments
I'm also seeing this:
I think it's all related... istio/istio#4847 This seems to be the dependency here... Will test again next week... |
You need to expose ingress-nginx behind a Service of type |
This is because Docker for Mac requires you to use |
@jpswade please follow the Docker for mac guide |
Closing. Please reopen if you still have issues after using the mentioned guide |
As per the documentation, i've run:
When I try it out, I get "502 Bad Gateway", here's the logs:
|
It has worked for me! Updated url (https://github.com/kubernetes/ingress-nginx/blob/master/docs/deploy/index.md#docker-for-mac) |
@aledbf can you check my issue ? I have followed the guide but I can't make it work. |
I have set up nginx as an ingress controller it works fine with Firefox & Safari but chrome gives a 404? |
NGINX Ingress controller version: 0.13.0
Kubernetes version (use
kubectl version
):Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.6", GitCommit:"9f8ebd171479bec0ada837d7ee641dec2f8c6dd1", GitTreeState:"clean", BuildDate:"2018-03-21T15:21:50Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.6", GitCommit:"9f8ebd171479bec0ada837d7ee641dec2f8c6dd1", GitTreeState:"clean", BuildDate:"2018-03-21T15:13:31Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Environment:
Cloud provider or hardware configuration: Mac
OS (e.g. from /etc/os-release):
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.11.6
BuildVersion: 15G1611
Kernel (e.g.
uname -a
):Darwin James-MacBook-Pro.local 15.6.0 Darwin Kernel Version 15.6.0: Sun Jun 4 21:43:07 PDT 2017; root:xnu-3248.70.3~1/RELEASE_X86_64 x86_64
Install tools:
Docker for Mac
Others:
What happened:
$ nc -v -z localhost 80
nc: connectx to localhost port 80 (tcp) failed: Connection refused
nc: connectx to localhost port 80 (tcp) failed: Connection refused
nc: connectx to localhost port 80 (tcp) failed: Connection refused
What you expected to happen:
I'd expect it to be up and running on port 80 and route to the correct place.
How to reproduce it (as minimally and precisely as possible):
https://gist.github.com/jpswade/eed2033d04ca93af7745c418065efd2f
Anything else we need to know:
The text was updated successfully, but these errors were encountered: