Enable http proxy and no proxy configuration in engine
The proxy information will be achieved from idf with the following
format:
proxy_settings:
http_proxy: <http_proxy>
https_proxy: <https_proxy>
no_proxy: <localhost and all the ports in k8s inventory file>
This change supposes that jumphost(localhost) and target hosts have
same proxy configuration. After post-deployment, re-login to the
jumphost is needed to let 'no_proxy' configuration on jumphost take effect
Otherwise, kubectl will get 'Unable to connect to the server: EOF' error.
Change-Id: I50f74d630dfd5d3bdf14f1e22824961cf99427ba
5 files changed