-
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
Pods cannot access host.minikube.internal #14631
Comments
/kind support |
I have this bug as well, minikube v1.25.1, kubernetes v1.23.2, Docker 20.10.12 on latest debian with all updates
And with Virtualbox driver I have no any problems with connecting to host
|
Hi @Sneaksolid – is this issue still occurring? Were you able to find a solution? For additional assistance, please consider reaching out to the minikube community: https://minikube.sigs.k8s.io/community/ We also offer support through Slack, Groups, and office hours. |
@klaases the problem is still persist, tested on v1.27.1 |
I have just encountered this problem and have assembled a one line workaround for now:
This needs to be done every time the minikube host restarts (i.e. after every Before:
After:
Versions:
Tracking this down went down a deep rabbit hole. I set up a simple HTTP service on the host:
That HTTP service was inaccessible on the minikube host:
However
Wiresharking the bridge network interface revealed that ICMP packets were making it out of the minikube host but the After lots of poking, I came across this issue and tried adjusting the
|
I could exactly reproduce this issue on a fresh EndeavourOS (Arch derivative) install, and I also reproduced on my Manjaro setup. It's working fine on Ubuntu 22.04. In the three cases, tested with version 1.27.1. @klaases I can see you do functional tests on Ubuntu, could you add an Arch-based workflow? |
I'm also seeing this issue on Fedora 37 w/Minikube The one liner above does solve it for me, however it is temporary. |
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 |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". 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. |
v1.28.3 problem still persists |
Same on |
yes, still not work in 1.33.1 |
What Happened?
When creating a new cluster the pods cannot connect to the host via "host.minikube.internal".
The creation itself works, but after some looking into it i saw the following rule when executing
iptables -t nat -L
which seems like the problem. as the --dport is missing and all traffic gets rerouted instead of only the dns requests.
Thanks in advance for helping.
Docker Version: 20.10.17
Minikube Version: v1.26.0
OS: Arch Linux
Host iptables-nft Version: v1.8.8
Kernel: 5.18.14-arch1-1
Attach the log file
log.txt
Operating System
Other
Driver
Docker
The text was updated successfully, but these errors were encountered: