Kubernetes: Connect to the outside world from pod
<p>I have a local Kubernetes cluster on a single machine, and a container that needs to receive a url (like <a href="https://www.wikipedia.org/" rel="noreferrer">https://www.wikipedia.org/</a>) and extract the text content from it. Essentially I need my pod to connect to the outside world. Since I am using v1.2.5, I need some DNS add-on like SkyDNS, but I cannot find any working example or tutorial on how to set it up. Tutorials like <a href="http://www.projectatomic.io/blog/2015/10/setting-up-skydns/" rel="noreferrer">this</a> usually only tell me how to make pods within the cluster talk to each other by DNS look-up. </p>

<p>Therefore, could anyone give me some advice on how to set up and configure an add-on of Kubernetes so that pods can access the public Internet? Thank you very much!</p>