I am Getting this Error when i run minikube start --driver=hyperv after restarting the computer .
First time when i installed minikube and and started the minikube
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
i did this and i was able to use everything just fine.
❯ minikube status
minikube
type: Control Plane
host: Running
kubelet: Running
apiserver: Running
kubeconfig: Configured
But the next day when try to use the containers it was not working and was giving the error saying unable to connect.
❯ minikube status
minikube
type: Control Plane
host: Running
kubelet: Running
apiserver: Stopped
kubeconfig: Configured
then i deleted everything using minikube delete --all --purge
and tried start the minikube again
PS C:\Users\Devteam> minikube start --driver=hyperv
😄 minikube v1.34.0 on Microsoft Windows 11 Pro 10.0.22631.4317 Build 22631.4317
✨ Using the hyperv driver based on user configuration
💣 Exiting due to PROVIDER_HYPERV_NOT_RUNNING: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive @([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator") returned ""
💡 Suggestion: Unable to determine current user's administrator privileges
PS C:\Users\Devteam> Get-Service -Name vmms
Status Name DisplayName
------ ---- -----------
Running vmms Hyper-V Virtual Machine Management
Attach the log file
❯ minikube logs --file=log.txt
🤷 Profile "minikube" not found. Run "minikube profile list" to view all profiles.
👉 To start a cluster, run: "minikube start"
What Happened?
I am Getting this Error when i run
minikube start --driver=hyperv
after restarting the computer .First time when i installed minikube and and started the minikube
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
i did this and i was able to use everything just fine.But the next day when try to use the containers it was not working and was giving the error saying unable to connect.
then i deleted everything using
minikube delete --all --purge
and tried start the minikube again
Attach the log file
Operating System
Windows
Driver
Hyper-V