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:
export http_proxy=http://<username>:<pass>@<proxy>:8080 for unix OS
set http_proxy=http://<username>:<pass>@<proxy>:8080 for windows OS
because my Pc is behind a coorporative proxy. This is very anoying because i have to write it a lot of time every days.
Is there any way to configure kubectl proxy with a config file or something else?
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.