You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 called hyperv, 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?
PS> minikube tunnel --bind-address='*'
E0816 10:41:45.840236 33336 out.go:448] unable to execute error getting ssh port: get port 22 for "minikube": hyperv container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exec: "hyperv": executable file not found in %PATH%
stdout:
stderr:
: template: error getting ssh port: get port 22 for "minikube": hyperv container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exec: "hyperv": executable file not found in %!P(string=index)ATH&{%!
(string=index of untyped nil)}stdout:
stderr:
:1:92: executing "error getting ssh port: get port 22 for \"minikube\": hyperv container inspect -f \"'{{(index (index .NetworkSettings.Ports \"22/tcp\") 0).HostPort}}'\" minikube: exec: \"hyperv\": executable file not found in %PATH%\nstdout:\n\nstderr:\n" at <index .NetworkSettings.Ports "22/tcp">: error calling %!s(MISSING): %!w(MISSING) - returning raw string.
❌ Exiting due to DRV_PORT_FORWARD: error getting ssh port: get port 22 for "minikube": hyperv container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube: exec: "hyperv": executable file not found in %PATH%
stdout:
stderr:
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ 😿 If the above advice does not help, please let us know: │
│ 👉 https://github.com/kubernetes/minikube/issues/new/choose │
│ │
│ Please run `minikube logs --file=logs.txt` and attach logs.txt to the GitHub issue. │
│ Please also attach the following file to the GitHub issue: │
│ - C:\Users\RLYSHW~1.TOA\AppData\Local\Temp\minikube_tunnel_7b52c6b9692bdef292d16c62911b4f7fdc0c9c58_1.log │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
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: