If you are using the microk8s Single Node Installer and your site requires proxy access to get to the internet, making a few quick changes to your operating system configuration will enable our installer to access the resources it needs over the internet. This document discusses these changes.
We also cover the case where you need to use a proxy to access the internet. Please make sure that the following host variables are set:
If your company's proxy is http://corporate.proxy:3128, you would edit /etc/environment and add the following lines:
The IP Ranges specified to NO_PROXY and no_proxy are specific to the microk8s cluster and prevent microk8s traffic from going over the proxy.
Using the same example of having a company proxy at http://corporate.proxy:3128, you would edit /etc/profile.d/http_proxy.sh and add the following lines:
You will need to log out and back in for the environment variables to be re-read after setting them. If you already have microk8s running, you will need to issue:
to have it reload the new environment variables.
If you need to use an authenticated proxy, then the URL schema for both EL and Ubuntu is as follows:
So if your proxy is corporate.proxy and listens on port 3128 without SSL and requires a username of bob and a password of inmye1em3nt then your url would be formatted:
For further help with proxies, we suggest that you contact your proxy administrator or operating system vendor.