Giter VIP home page Giter VIP logo

Comments (13)

luxas avatar luxas commented on May 17, 2024

kubernetes/kubernetes#23930 was merged :)
Let's update Godeps and write a new DNSServer

from minikube.

dlorenc avatar dlorenc commented on May 17, 2024

FYI I started updating godeps, but got blocked on a k8s.io/kubernetes appc/spec incompatibility. We'll need this PR to get merged before we can continue: appc/spec#607

from minikube.

luxas avatar luxas commented on May 17, 2024

Yes, I also started updating to head, and hit the same error.

from minikube.

luxas avatar luxas commented on May 17, 2024

I started to think if it's easier to deploy DNS as an addon instead of built-in in the binary...
That way we would be much more compatible with "real" solutions. Also, the new DNS solution uses dnsmasq for caching (I think), and it might be easier to just deploy them together as a Pod.

@dlorenc WDYT? Our localkube code would also get cleaner...

from minikube.

dlorenc avatar dlorenc commented on May 17, 2024

@luxas I'm concerned about the size of the image that people would have to pull. Any idea how large it is?

from minikube.

luxas avatar luxas commented on May 17, 2024

~50MB. That's quite much.
But anyway, I'm concerned about the dnsmasq dep... (Although it might be a soft dep)

from minikube.

dlorenc avatar dlorenc commented on May 17, 2024

I'm going to move this out of the milestone. We should come up with a plan here soon. Running as a pod might be the right approach.

from minikube.

luxas avatar luxas commented on May 17, 2024

I'm leaning against going with the "official" kube-dns solution.
Then we won't have any compability problems.

I've already added a flag, --enable-dns which you may just set to false when adding the manifest

from minikube.

philips avatar philips commented on May 17, 2024

It would be nice to make the kube-dns container smaller or something. The problem I see with not using the normal add-on is it makes the minikube cluster "more special".

For example this debugging guide doesn't work: https://coreos.com/kubernetes/docs/latest/network-troubleshooting.html#first-stop-dns-debugging

from minikube.

philips avatar philips commented on May 17, 2024

Thoughts @ethernetdan ?

from minikube.

dlorenc avatar dlorenc commented on May 17, 2024

+1 on switching to the standard DNS addon model.

from minikube.

philips avatar philips commented on May 17, 2024

@dlorenc another datapoint is today during my k8s workshop at LinuxCon EU someone asked about how to replace the DNS implementation and I was using minikube so I had to say "On a normal k8s cluster you can do that, minikube is special"

from minikube.

ethernetdan avatar ethernetdan commented on May 17, 2024

+1 for add-on - minikube should mirror best practices where possible

I was able to get the kube-dns executable down to 28mb from 42mb by omitting symbol and debug info with make kube-dns GOLDFLAGS="--s -w"

from minikube.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.