Open sevein opened 7 years ago
Thanks for the report! Bummer that nodeName
doesn't work in minikube.
I ran into this issue today too, and verified that it's still a problem with the latest version of Minikube. I added some extra information to our README to hopefully help clarify -- #109.
When I tried to deploy
k8s-daemonset/k8s/hello-world-1_4.yml
in my minikube I ran into an issue where the value given tospec.nodeName
(minikube
) wasn't resolvable by kube-dns, causing an exception inhello.py
. I'm not sure why this wasn't a problem in other k8s deployments. In minikube and k8s 1.4,hostIP.sh
or similar approach looking upstatus.hostIP
may still be necessary.There is a proposal in kubernetes to improve node-local service discovery when using DaemonSets that could solve this issue.