I am unable to reach any server in my network, either ping or ssh. I can do that from my host server but not from the kubernetes pod containers. I have verified both /etc/resolv.conf and /etc/nsswitch.conf on my host machine, they are all correct.
/etc/resolv.conf in my pod containers has a different nameserver, it's a private local ip, nameserver 10.96.0.10
i thinks that's related to kubernetes and there is no /etc/nsswitch.conf in my kubernetes container. Kubernetes pods should inherit these settings from the host machine, but in my case it doesn't work.
If i run a docker container manually, i.e with docker run, it all again works fine. So the problem is with kubernetes and the pod/containers it creates.
Kubernetes v1.7.3