Minikube with hyperkit

Table of contents

I cannot really say what happened, but unfortunately during some of the latest updates DNS resolution inside of my Hyperkit VM stopped working. I can manually set the DNS to something like 8.8.8.8, but after a while it fails again.

After some digging around I found this:

https://github.com/kubernetes/minikube/issues/3036

Looks like a local running DNS server for the Bonjour handler clashes with CoreDNS and results in a non-working DNS configuration inside of Kubernetes. That leads to various issues, but formost problems to fetch any container from docker and the likes.

Surely there are lots of arcane solutions, one of my favorite is to disable the System Integrity Protection and the Bonjour system. Since I don’t want to deal with all the consequences of it yet, there should be another way I can approach.

Conclusion

Alas, the solution is pretty easy: Just don’t use HyperKit and switch to Virtualbox.