<p>I want to set http/https proxy in pods and pass these variables via environment. However, I need to set no_proxy as well. Which values should I put it to not break somethings in k8s-inside-communication? As far as I know, there are some default services as "kubernetes.default.svc".</p>

<p>You could, as illustrated in <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1467776" rel="nofollow noreferrer">OpenShift Container Platform bug 1467776</a>, add <code>.svc</code> to <code>no_proxy</code> (as in <a href="https://github.com/openshift/openshift-ansible/pull/4678/files" rel="nofollow noreferrer">PR 4678</a>)</p>

<blockquote>
  <p><code>.svc</code> domain was added into service env file after installation.</p>
</blockquote>

<pre><code>[root@qe-gpei-etcd-sc-master-1 sysconfig]# grep NO_PROXY * -r
atomic-openshift-master:NO_PROXY=.cluster.local,.svc,qe-gpei-etcd-sc-master-1,172.30.0.0/16,10.128.0.0/14
docker:NO_PROXY='.cluster.local,.svc,qe-gpei-etcd-sc-master-1'
[root@qe-gpei-etcd-sc-master-1 sysconfig]# docker info |grep "No Proxy"
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
No Proxy: .cluster.local,.svc,qe-gpei-etcd-sc-master-1
</code></pre>
