I was just curious if there are known workarounds for the Minikube Vpn issue apart from clean wipe of the minikube from the machine and reinstallation. Minikube works just fine when it is connected to either office network or home network but goes dead when connected to a vpn. When I do a kubectl get pods
gives an i/o timeout
. I did read couple of git issues in their Issues section but none of the solutions seemed comprehensive.
Using Mac OS Minikube V0.25.Any suggestion is truly appreciated!
I had this problem when the Cisco VPN was connected to our business network. I was able to stop the VPN, then start the minikube and could run kubectl version with the VPN stopped. I then started the VPN with minikube running and reissued the kubectl version command and it worked without timeout. I have not tested beyond this however.
I had also upgraded VirtualBox to Version 5.2.18 r124319 (Qt5.6.3) prior to performing the reinstallation of minikube with the VPN off. However, this may not have had any affect as I was on newer versions of VirtualBox than others had recommending to upgrade to.
I suggest not using VPN with Minikube. The work-arounds do not work for me always or when I upgrade my VPN software or reboot my laptop.
I observed that VPN drops ingress traffic on unknown interface (with unknown IP address, port and DNS name) from Minikube into the laptop for security reasons.
There are some issues reported around VPN for minikube.
In particular, issue 2344 shows the exact error message:
From issue 2325:
Some networking settings are suggested in "vpn or proxy for easier local development (issue 38)".
Issue 1413 suggests:
This is not yet available with minikube though.