<p>These days I've been working with kubernetes and kubectl at work, the point is that each time I open a console I have to write:</p>

<pre><code>export http_proxy=http://&lt;username&gt;:&lt;pass&gt;@&lt;proxy&gt;:8080  for unix OS
set http_proxy=http://&lt;username&gt;:&lt;pass&gt;@&lt;proxy&gt;:8080 for windows OS
</code></pre>

<p>because my Pc is behind a coorporative proxy.
This is very anoying because i have to write it a lot of time every days.</p>

<p>Is there any way to configure kubectl proxy with a config file or something else?</p>

<p>One option is to add the export line to your .bashrc (or equivalent if you're using another shell) as this is sourced every time you open up a new terminal.</p>
