I'm running Kubernetes on my machine , that has 8GB of RAM and 150GB of free disk space (SSD).
Using : minikube start --driver=hyperv MasterClassSwitch
The Minikube & Kubectl
crashes every few minutes , and when I've tried :
minikube start --driver=hyperv MasterClassSwitch --memory 4096
I got :
* minikube v1.9.2 on Microsoft Windows 10 Pro 10.0.18363 Build 18363
* Using the hyperv driver based on user configuration
* Starting control plane node m01 in cluster minikube
* Creating hyperv VM (CPUs=2, Memory=4096MB, Disk=20000MB) ...
E0427 11:36:06.406443 14932 main.go:106] libmachine: [stderr =====>] : Hyper-V\Start-VM : 'minikube' failed to start.
Not enough memory in the system to start the virtual machine minikube.
Could not initialize memory: Ran out of memory (0x8007000E).
'minikube' failed to start. (Virtual machine ID F02028E1-B345-4661-A349-87609592BD1B)
Not enough memory in the system to start the virtual machine minikube with ram size 4096 megabytes. (Virtual machine ID F02028E1-B345-4661-A349-87609592BD1B)
'minikube' could not initialize memory: Ran out of memory (0x8007000E). (Virtual machine ID F02028E1-B345-4661-A349-87609592BD1B)
At line:1 char:1
+ Hyper-V\Start-VM minikube
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : FromStdErr: (:) [Start-VM], VirtualizationException
+ FullyQualifiedErrorId : OutOfMemory,Microsoft.HyperV.PowerShell.Commands.StartVM
! StartHost failed, but will try again: creating host: create: creating: exit status 1
* Stopping "minikube" in hyperv ...
* Deleting "minikube" in hyperv ...
* Creating hyperv VM (CPUs=2, Memory=4096MB, Disk=20000MB) ...
E0427 11:37:12.441951 14932 main.go:106] libmachine: [stderr =====>] : Hyper-V\Start-VM : 'minikube' failed to start.
Not enough memory in the system to start the virtual machine minikube.
Could not initialize memory: Ran out of memory (0x8007000E).
'minikube' failed to start. (Virtual machine ID 4E9AE383-3BBF-4B67-931F-6A241A164C14)
Not enough memory in the system to start the virtual machine minikube with ram size 4096 megabytes. (Virtual machine ID 4E9AE383-3BBF-4B67-931F-6A241A164C14)
'minikube' could not initialize memory: Ran out of memory (0x8007000E). (Virtual machine ID 4E9AE383-3BBF-4B67-931F-6A241A164C14)
At line:1 char:1
+ Hyper-V\Start-VM minikube
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : FromStdErr: (:) [Start-VM], VirtualizationException
+ FullyQualifiedErrorId : OutOfMemory,Microsoft.HyperV.PowerShell.Commands.StartVM
Any way around this ? Maybe allocate some disk space for the RAM ?
User contributions licensed under CC BY-SA 3.0