-
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
Minikube Tunnel --bind-address fails on windows/hyperv #19460
Comments
Got the same error. It seems that minikube tried to execute this command: hyperv container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" but failed with:
I have searched a lot of times about this "hyperv executable", but got nothing. Expect developers give helps on this case...... Bill |
Hello @spowelljr This issue may be caused by inappropriate calling of OCIBinary.inspect, in which the name of OCIBinary, which is "hyperv" in this issue, is used as executable to perform inspection on a container. Would you please help check it or advise the right way of managing minikube using hyper-v? Best regards, |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
Struggling with the same issue. Reproduced on This error also arises when using Hope someone can point me (and maybe other folks) in the right direction. |
What Happened?
I am running on windows11, hyperv as the driver. I start the minikube with
minikube start --hyperv-virtual-switch bridge
I then attempt to expose a tunnel to the load-balancer with
minikube tunnel --bind-address='*'
The tunnel fails to start with no indication as to exactly why. I have not been able to find any reference on how to solve the DRV_PORT_FORWARD error.
It seems like something is trying to exec
hyperv
but I can't tell if it's referenced internally (in the minikube vm) or external (my ps session). I'm not sure windows ships a ps utility just calledhyperv
, nor can I find reference to any linux cli utility named 'hyperv'. What am I doing wrong?I'm posting here primarily because of the warning text, which does not actually include any "above advice". Maybe it should for this error?
Attach the log file
logs.txt
minikube_tunnel_7b52c6b9692bdef292d16c62911b4f7fdc0c9c58_1.log
Operating System
Windows
Driver
Hyper-V
The text was updated successfully, but these errors were encountered: