Installing behind a Proxy¶
Following are the microk8s configurations required in IFS Cloud remote deployment option to run behind a proxy.
-
Open a Powershell Window in Windows Management Server ifsroot folder, then run ./main.ps1 to install Remote Deployment Option which will install microk8s.
-
The following configurations in the Ubuntu Linux Middle-Tier Server VM are required.
2.1 Test if proxy is working:
curl -v -x http://proxyhostname:3128 http://publicsite.com
2.2. sudo vim /etc/environment and set below variables.
HTTPS_PROXY=http://proxyhostname:3128 HTTP_PROXY=http://proxyhostname:3128 NO_PROXY=10.1.0.0/16,10.152.183.0/24,127.0.0.1 https_proxy=http://proxyhostname:3128 http_proxy=http://proxyhostname:3128 no_proxy=10.1.0.0/16,10.152.183.0/24,127.0.0.1
2.3. Then restart microk8s
microk8s stop microk8s start
2.4. Test if VM can reach the internet through the proxy:
curl -v -x http://publicsite.com
-
The pods should pull the images and start up.
-
Then continue to install IFSCloud by running the ifsinstaller.