-
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
kube-dns still deployed with coredns #3233
Comments
Found the same here. The two are load balanced by the |
Sorry but I forgot a very important information which can explain the issue (but not justify it) minikube is started with As a result :
|
This is in fact causing trouble for me, because coredns and kube-dns produce different results for SRV queries. One returns SRV records that point to A records that contain 'hashed' IP's, while the other returns SRV records that point to A records that contain 'dashed' IP's. Example at akka/akka-management#344 (comment) Either is fine for me, but randomly seeing both in the same cluster leads to trouble. |
This behavior definitely seems unwanted, and I'd be happy to review any PR's which you think may address this. The supposed default on a fresh install is to not install kube-dns: $ minikube addons list | grep dns
- coredns: enabled
- kube-dns: disabled However, the result with $ kubectl get pods --all-namespaces | grep dns
kube-system coredns-c4cffd6dc-4zdkf 1/1 Running 0 1m
kube-system kube-dns-86f4d74b45-ddc5g 3/3 Running 0 1m @dlorenc - any insight into what might be going on here? |
There was this PR to address a similar issue, but has gone stale . |
As a workaround, you can disable kube-dns by going to |
@rajansandeep I have no such directory. Can you post the name of the manifests so I can figure out where they're stored on my system. |
@tstromberg I think there is a conflict between kubeadm addon and minikube addon for DNS management.
Why are we seing this only now ? Because the switch from kube-dns to coredns did not happen at the same time between kubeadm addon and minikube addon :) A I explained previously, For example, |
@redshirtrob Sorry, I should have been more specific.
(In my case above, I only have CoreDNS installed) |
Closing the loop here a bit: I don't have any yaml files in Even though kube-dns was disabled in the config, it was still running. |
Confirmed for me; deleting the kube-dns deployment solved the problem.
|
I believe this is fixed in master by way of #3332 - and will be included in the next release. |
Great! |
Someone should document that this requires |
Fixed in v0.32 |
BUG REPORT:
Minikube version (use
minikube version
): v0.30.0cat ~/.minikube/machines/minikube/config.json | grep DriverName
): Virtualboxcat ~/.minikube/machines/minikube/config.json | grep -i ISO
orminikube ssh cat /etc/VERSION
): v0.30.0What happened: After default installation (no specific arguments passed), minikube has both kube-dns and coredns deployments with one kube-dns service pointing on the 2 implementations
What you expected to happen: After default installation, minikube addons list indicates coredns is enabled and kube-dns is disabled. I expect to have kube-dns service that targets only coredns pod
How to reproduce it (as minimally and precisely as possible):
Anything else do we need to know: Everything seems to work fine with 2 implementations at the same time. If I delete kube-dns deployment, it seems to still work (not yet extensively tested BTW)
The text was updated successfully, but these errors were encountered: