Behind the enterprise proxy,
what is the proper setting for kubernetes (and docker)?
- when set the http_proxy, https_proxy, no_proxy
export http_proxy="http://1.2.3.4:8080"
or
export http_proxy=http://1.2.3.4:8080
or
export http_proxy=1.2.3.4:8080
Should I set capital environment variable like HTTP_PROXY ?
When I set no_proxy,
export no_proxy=10.0.0.1,10.0.0.2,10.0.0.3
(all the kubernetes master and nodes )
or
export no_proxy=10.0.0.*
Should I setting below file ?
$ vi /etc/systemd/system/docker.service.d/http-proxy.conf [Service] Environment="HTTP_PROXY=http://1.2.3.4:8080" "HTTPS_PROXY=http://1.2.3.4:8080" "NO_PROXY=127.0.0.1,localhost,10.0.0.1,10.0.0.2,10.0.0.3"
In this file, applied same rule with above question?
- any other considerations?
Thanks inadvance.