-
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
Cannot resolve host ingress on minikube with ngnix WSL2 #19144
Comments
same problem,It still hasn't been solved yet.Ingress related functions cannot be debugged,Look forward to a solution. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues 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. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
What Happened?
Some specs about my OS:
Some additional info about my environment:
What I want to achieve is to set up an Ingress node following this guide.
Starting from a fresh environment without any minikube, I begin with:
and follow the instructions later on (I omit all the steps since I do not see any weird errors, but these can be added if needed).
Without any issue I can
curl
bot web and web2 after that I create the tunnel, i.e.:Terminal 1 (which will remain active in background)
Terminal2 (accessible even via browser)
The same applies for
web2
, except that obviously the port and the output change. This is coherent with the guide.However, when it comes to the part where I should create an Ingress to redirect the traffic after
web2
is created, it does not work. I correctly start the service:Then, I created in one terminal the
minikube tunnel
and prompt the password like the note suggests:However, when I try to be redirected to either web/web2, I do not see the expected output:
But obtain the Apache ubuntu default page.
Moreover, following the Ubuntu guide and typing:
it fails due to a timeout. Any hint on how to fix and how to correctly access the service?
Note that:
EDIT:
Some more outputs
Note that I have not modified
/etc/hosts/
in ubuntu.Moreover,
LOGS FOR EVERY COMMAND
Attach the log file
Here's the log file attached log.txt
Operating System
Ubuntu/WSL2 on top of Windows11 PRO
Driver
Docker
The text was updated successfully, but these errors were encountered: