Skip to content
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

Property name kube-dns not found #3642

Closed
kamilgregorczyk opened this issue Feb 8, 2019 · 10 comments
Closed

Property name kube-dns not found #3642

kamilgregorczyk opened this issue Feb 8, 2019 · 10 comments
Labels
area/addons area/dns DNS issues good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. triage/obsolete Bugs that no longer occur in the latest stable release

Comments

@kamilgregorczyk
Copy link

Whenever I try to enable kube-dns with minikune addons enable kube-dns I get Property name kube-dns not found eventhough this addon is listed:

➜  ~ minikube addons list
- addon-manager: enabled
- dashboard: enabled
- default-storageclass: enabled
- efk: disabled
- freshpod: disabled
- gvisor: disabled
- heapster: enabled
- ingress: disabled
- kube-dns: disabled
- metrics-server: disabled
- nvidia-driver-installer: disabled
- nvidia-gpu-device-plugin: disabled
- registry: disabled
- registry-creds: disabled
- storage-provisioner: enabled
- storage-provisioner-gluster: disabled

Environment:

Minikube version (use minikube version): v0.33.1

  • OS MacOS 14.4.3
  • VM Driver: virtualbox
  • ISO version: ` "Boot2DockerURL": "file:///Users/kamilgregorczyk/.minikube/cache/iso/minikube-v0.33.1.iso",
@husamuddin
Copy link

I'm having the same issue

Environment:

  • OS Archlinux
  • Minikube: v0.33.1
  • VM Driver: virtualbox

@tstromberg
Copy link
Contributor

I suspect this is fallout from kube-dns being deprecated in favor of CoreDNS in Kubernetes. We'll have to take a closer look, but I suspect this addon is no longer meaningful.

@tstromberg tstromberg added kind/bug Categorizes issue or PR as related to a bug. area/addons area/dns DNS issues help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. labels Feb 11, 2019
@hpandeycodeit
Copy link

@tstromberg I can work on this one.
Are we looking to remove the kube-dns addon completely?

@tstromberg
Copy link
Contributor

tstromberg commented Feb 12, 2019

@hpandeycodeit - Yes, I don't think it makes sense to exist any longer, to be honest.

Thank you for offering!

@tstromberg tstromberg added the priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. label Feb 12, 2019
@hkroger
Copy link

hkroger commented Feb 13, 2019

Is there a workaround to get kubernetes DNS working somehow? I am facing this issue and I also think that because of this might be that the pods cannot access any DNS either. I see that a service cannot start because it cannot resolve some non-kubernetes hostname. Can it be because of this?

@kamilgregorczyk
Copy link
Author

kamilgregorczyk commented Feb 13, 2019 via email

@hkroger
Copy link

hkroger commented Feb 13, 2019

Actually my problem is that coredns does not start because it gets into resolving loop because systemd-resolved has 127.0.0.53 in resolv.conf. Should I create a ticket about this?

@hpandeycodeit
Copy link

@tstromberg After I build the minikube from the source, I don't see any kube-dns addon in the list:

`
out/minikube addons list

  • addon-manager: enabled
  • dashboard: disabled
  • default-storageclass: enabled
  • efk: disabled
  • freshpod: disabled
  • gvisor: disabled
  • heapster: disabled
  • ingress: disabled
  • logviewer: disabled
  • metrics-server: disabled
  • nvidia-driver-installer: disabled
  • nvidia-gpu-device-plugin: disabled
  • registry: enabled
  • registry-creds: disabled
  • storage-provisioner: enabled
  • storage-provisioner-gluster: disabled
    `
    Looks like the code is already merged but not yet released?

@tioxy
Copy link

tioxy commented Feb 26, 2019

The version v0.33.1 had kube-dns as an addon.

As @hpandeycodeit pointed, it's already merged #3556

Updating your minikube version to >= 0.34.0 should fix it.

@tstromberg
Copy link
Contributor

Marking as obsolete, as the kube-dns addon was removed in a previous release. Please re-open if you run into this again.

@tstromberg tstromberg added the triage/obsolete Bugs that no longer occur in the latest stable release label Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/addons area/dns DNS issues good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. triage/obsolete Bugs that no longer occur in the latest stable release
Projects
None yet
Development

No branches or pull requests

6 participants