<p>I have newbie question, I could not find the answer.</p>
<p>Let`s assume that I have 2 pods, each on different service in kubernetes. One pod must have set HTTP_PROXY.</p>
<p>When I make internal HTTP request beetwen services from proxy-pod to no-proxy-pod it won`t work, becouse proxy cannot reach internal IPs.</p>
<p>When I make internal HTTP requests beetwen services if I for example make HTTP GET from no-proxy-pod to proxy-pod -&gt; does response from proxy-pod goes through proxy or directly?</p>
<p>Is there a way to decide if it goes through proxy or not?</p>

xbubus
<p>You probably want to set the <code>NO_PROXY</code> environment variable to the list of hosts that should not use the proxy.</p>
<p>See this SuperUser question/answer for more details</p>
<p><a href="https://superuser.com/questions/944958/are-http-proxy-https-proxy-and-no-proxy-environment-variables-standard">https://superuser.com/questions/944958/are-http-proxy-https-proxy-and-no-proxy-environment-variables-standard</a></p>
