-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use kubectl even with proxy settings #4965
Comments
Kubectl version output
|
Did you add 127.0.0.1 to |
We really should add a warning when using none with cpus/memory... But at least in the new release it will show that they are not being used. i.e. since you are running it on localhost, the current VM will be used |
@afbjorklund Yes, 127.0.0.1 is there in the mentioned link. What is surprising is that even though I have set NO_PROXY env var, I get the message The reason I have to use -vm-driver=none is because I am using a remote linux machine, in which I cannot turn on Virtualization. The machine has 4 cores and 8 GB, but since minikube by default use 2 cores and 2 GB, I had to pass --cpus and --memory. Do you still think the flags wont be used? |
Right, forgot that we still use the default/public IP for the none driver (#4313) Anyways, then your I couldn't see the variables in the command above ? Normally you have to use |
@afbjorklund Are you talking about the HTTP_PROXY, HTTPS_PROXY and NO_PROXY env vars? Well, latest minikube itself picks up HTTP_PROXY and HTTPS_PROXY env vars as I have observed from the output of
. Regarding NO_PROXY, I am confused because I have added my machine ip in NO_PROXY env var but still I get |
@afbjorklund I get same output if i start with the command in the given link with the flags
|
You seem to be passing HTTP_PROXY (through some global configuration), but not NO_PROXY ? So do that, something like: |
@afbjorklund Thanks, now I am not getting the error about NO_PROXY on minikube start.
But still kubectl does not seem to work.
|
Had to add |
|
I am trying to use minikube. I am behind a proxy so I followed this article https://github.com/kubernetes/minikube/blob/master/docs/http_proxy.md. However, even after setting both no_proxy and NO_PROXY and other env var as mentioned in article, i am still getting
and then
I am using minikube using --vm-driver = none. Does this matter? Is there any workaround then in the above article?
The text was updated successfully, but these errors were encountered: