Installing behind a Proxy (Optional)¶
For Middle Tier Server¶
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 the 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
-
Then continue to install IFSCloud by running the ifsinstaller.
-
Restart microk8s
microk8s stop microk8s start
-
Now the pods should pull the images and start up.
-
Test if VM can reach the internet through the proxy:
curl -v -x http://publicsite.com
For Management Server¶
By default it will NOT use the Windows Proxy Setting.
Run the following command first to make it work:
ps> $env:HTTP_PROXY="<proxy server>"
ps> $env:HTTPS_PROXY="<proxy server>"
ps> $env:NO_PROXY=”<local ip range>”