Skip to content

Installing behind a Proxy For Middle Server,

Following are the microk8s configurations required in IFS Cloud remote deployment option to run behind a proxy.

  1. Open a Powershell Window in Windows Management Server ifsroot folder, then run ./main.ps1 to install Remote Deployment Option which will install microk8s.

  2. 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
    
  3. The pods should pull the images and start up.

  4. Then continue to install IFSCloud by running the ifsinstaller.

Installing behind a Proxy for Management Server (Optional)

By default it will NOT use the Windows Proxy Setting.

So, 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>”