<p>My kubernetes pods are all able to resolve hostnames and ping servers that are on the wider Internet, but they can't do either for our VMs running in the same zone &amp; region on Google Compute Engine.</p>

<p>How does one tell kubernetes / docker to allow outbound traffic to the Google Compute Engine environment (our subnet is 10.240.0.0) and to resolve hostnames for that subnet using 10.240.0.1?</p>

<p>Very silly mistake on my part. </p>

<p>Our Google Container Cluster was configured to use a custom network in the Google Developer Console, while our Google Compute Engine VMs were all configured to use the default network. </p>

<p>That explains that. Make sure the machines are all on the same network and then everything works as you'd hope.</p>
