-
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
DNS resolution not working with vm-driver none #3375
Comments
Still an issue on 0.32.0. |
yup, found out yesterday that Introduced KubeAdm change with resolv.conf doesn't solve the issue here and still the manual change in /etc/hosts file had to be done inside of a pod with service name and service ip like (redis-server - ip) |
This is working for me on version 1.0.0. i logged into a pod and the dns resolution does work. sudo rm /etc/resolv.conf vagrant@dhost:~/poc-bob/vagrant$ minikube version |
Minikube version it didn't work for is : v0.30.0 |
Thanks for the update! I'm marking this as obsolete. |
@tstromberg I'm facing this issue with minikube v1.0.0 running in ubuntu vm (so vm-driver=none), ie if I shell into a pod I can connect to another pod by cluster IP of the associated service but not by name of the service. What is the solution, not clear from the above discussion. |
Actually just saw #3511 (comment), trying it.... Update: that worked. I had to delete the cluster first. After the restart with given flag, the core-dns pods were running fine and dns resolution on services works. |
you can always put service names and their matching pod ip to all the
containers /etc/hosts files :-)
pb
…On Thu, May 16, 2019, 5:13 PM schollii ***@***.***> wrote:
Actually just saw #3511 (comment)
<#3511 (comment)>,
trying it
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3375?email_source=notifications&email_token=AEH46ZQKYGJLB7CSPDVZ2ZDPVV23DA5CNFSM4GHATFF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVSEEGI#issuecomment-493109785>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEH46ZVVAGADYGD4DM664B3PVV23DANCNFSM4GHATFFQ>
.
|
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Please provide the following details:
Environment:
Minikube version (use
minikube version
): v0.30.0cat ~/.minikube/machines/minikube/config.json | grep DriverName
): nonecat ~/.minikube/machines/minikube/config.json | grep -i ISO
orminikube ssh cat /etc/VERSION
):The above can be generated in one go with the following commands (can be copied and pasted directly into your terminal):
What happened:
service name resolution is un-stable, once it is resolved, after a while it won't
What you expected to happen:
service name should be resolved.
How to reproduce it (as minimally and precisely as possible):
Create a pod and expose a service.
Poll to the above service from another pod.
Output of
minikube logs
(if applicable):Anything else do we need to know:
The text was updated successfully, but these errors were encountered: