1

I set up Kubernetes (single node) with kubespray. It's all up and working except for one thing. Any requests made from inside the container has my own fqdn appended to the request. For example, if I ping google.com from in the container, it pings google.com.example.com.

In my resolv.conf, it had the 3 search domains that are added by Kubespray, and then lan.example.com (my DHCP search domain set in my router), and example.com, which I don't know why that's getting put in. Removing the last search domain (example.com) makes the requests ping correctly.

Why is this happening and how can I fix it?

cclloyd
  • 8,171
  • 16
  • 57
  • 104
  • could you provide more information about how did you deploy the cluster, did you use any tutorials? This seems like expected behavior for search domains so maybe the issue is somewhere in the playbook/tutorial. – aurelius Feb 11 '19 at 11:35
  • @aurelius why would this be expected behavior? I also don't have access to my yaml right now, but it was just follownig the getting started guide on the kubespray repo. – cclloyd Feb 11 '19 at 18:11

0 Answers0