-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 not working on Mac M1 host machine #13510
Comments
/kind support |
I've got the exact same problem. With docker we had to do things like Also for my specific case, I'm using the resolver approach as documented and while
If I ping FWIW tunneling does work for me, but again that's not an ideal way for us. I think the real problem here is docker and weather this can be fixed in minikube 🤷🏽♂️ . |
But did you actually get it working on your M1 @kmahelona ? I can't reach my minikube ingress services ufortunalely - haven't figured out any workaround |
|
hi @mr-bjerre, were you able to review the comments above regarding the |
@klaases we decided to move away from minikube instead since we can orchestrate locally without. So I never tried actually - sorry |
Hi, I can confirm that running |
Weird follow up question on this: all the docs regarding So is |
Dropping by to let you know what worked for us:
With these, we were able to access our cluster from outside using |
The steps outlined here by several people do indeed work. However there is an important limitation moving away from hyperkit and toward the docker driver. hyperkit essentially allowed multiple ingress controllers to be running within minikube and exposed as distinct IP addresses by minikube tunnel. However, on docker this is not possible since it runs on localhost address space. I'd like to see support for hyperkit or another driver that allows routes into the container IP space. |
Glad to see the community stepping into work through resolutions! If needed, feel free to re-open the issue by commenting with Thank you for sharing your experience! |
/reopen |
@Leo-Mrl: You can't reopen an issue/PR unless you authored it or you are a collaborator. 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. |
Hello everyone, I would like to reopen this issue or get any information you may have about how to solve it @klaases. I am currently taking an intro course to Kubernetes; I am experienced developer, proficient with Docker, but new to Kubernetes. I have a I am trying to access my app through 3 different ways:
To summarize, I am able to connect to my app deployed in the cluster by making use of port forwarding, but not by using the minikube tunnel command, which seems like a hurdle in one's path to learning Kubernetes. I also tried the steps described by @germanflighel, but it did not solve my issue unfortunately. Any advice or solution 🙏 ? Thank you very much, I will remain available if needed. |
Thank you so much. |
@germanflighel not able to access ingress. Can you maybe share a small yaml file with ingress and clusterIp defined which is accessible from host machine for your mac ? |
this solution works but I don't think you are using the ingress. When you create a loadbalancer service and use minikube tunnel it sends the traffic to the service directly. It should work without the ingress. I think Ingress are broken with minikube on m1s
|
Update on my side (my apologies for not updating earlier): in a nutshell, Mac M1 runs Ideally, we would want to use Therefore: port-forwarding should work natively on Mac M1, but tunneling is a bit more complex to set up. Ideally, if you require the use of tunneling, you want to run your app on another platform (such a Linux). |
I tried almost all the things mentioned in this thread but nothing worked out. I had to change the driver to QEMU and that worked seamlessly. |
What Happened?
I have
ingress
addon enable in my minikube cluster. I add my host names to/etc/hosts
, e.g.myapp.local
. The following command just hangs instead of responding as expectedI think this might be related to this issue where
minikube tunnel
hangs (as it does for me as well - usually I don't need to use tunneling withingress
addon though)Attach the log file
Let me know which kind of logs is helpful
Operating System
macOS (Default)
Driver
Docker
The text was updated successfully, but these errors were encountered: