I am trying to setup systemwide proxy settings for my coreos machine. I have created a cloud-config which updates the following files:
$cat /etc/systemd/system.conf.d/10-default-env.conf [Manager] DefaultEnvironment=HTTP_PROXY=http: //proxyuser:[email protected]:3128 $cat /etc/profile.env export HTTP_PROXY=http://proxyuser:[email protected]:3128 $cat /etc/systemd/system/docker.service.d/20-http-proxy.conf [Service] Environment="HTTP_PROXY=http://proxyuser:[email protected]:3128" 1. Are all these settings necessary if I want to force any and all connections from this machine (from inside and outside the containers) to use this proxy config? 2. Will these settings also cover the ETCD discovery and NTPD updates? 3. What is an easy way to test that all (from inside and outside the containers) connections are going through this proxy config? - SS
