-
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 installation on Azure VM - NV6 #4804
Comments
Apparently it is supported on some sizes (Dv3/Ev3) of virtual machines: If it is supported, then the normal VT-x/AMD-v detection should see it... |
I don't have Azure access to help, but do you mind sharing the output of:
It'd be good to see what error shows up currently. I know that minikube w/ kvm2 and virtualbox works really well under GCE, so hopefully Azure will work similarly well. |
WS-DSVMUser@WorkplaceSafety-KubeVM:~$ minikube start --alsologtostderr -v=1
X Unable to start VM: Error getting state for host: getting connection: looking up domain: virError(Code=42, Domain=10, Message='Domain not found: no domain wit h matching name 'minikube'')
|
@tstromberg above is the output - when i run " minikube start --alsologtostderr -v=1" |
Domain not found: no domain with matching name 'minikube' indicates that the VM was not created. I was able to run minikube on a Standard D4s v3 (4 vcpus, 16 GiB memory) VM with kvm2 driver. But for this scenario it seems a lot better to provision an Azure VM for cluster workload instead of nested virtualization. |
@laozc |
@ashwini-git - There are limited series which support Nested Virtualization in Azure. Following is a list (Anything 3 stars *** ) supports nested virtualization - https://docs.microsoft.com/en-us/azure/virtual-machines/windows/acu Can you try creating a VM from that series and then see if it is working? |
@blueelvis I require gpu enabled computing on my kubernetes cluster , as D and E series Azure VMs are not gpu enabled , how m supposed to achive that if i install Minikube there. Azure does provide Kuberenetes services , we are trying to avoid it since it bit costly. |
Probably better to avoid nested virtualization wherever possible, and look into other options... Such as https://github.com/kubernetes/minikube/blob/master/docs/vmdriver-none.md |
+1 for none driver. |
Hi , I used None driver approach and now kubectl is configured . I can see a Master node created. Is there any details on to setup gpu plugin in this case ? |
There should be an entry for "none" as well: |
i followed the instructions at -https://github.com/kubernetes/minikube/blob/master/docs/gpu.md#using-nvidia-gpu-on-minikube-on-linux-with---vm-drivernone when i try to view the status of deployment as from - https://docs.microsoft.com/en-us/azure/aks/gpu-cluster#view-the-status-and-output-of-the-gpu-enabled-workload i get the error : ------- Below is the Node description FYR. root@WorkplaceSafety-KubeVM:~# kubectl describe node MemoryPressure False Wed, 31 Jul 2019 08:39:07 +0000 Mon, 29 Jul 2019 15:22:26 +0000 KubeletHasSufficientMemory kubelet has sufficient memory available default hello-minikube-64c7df9db-5d6rl 0 (0%) 0 (0%) 0 (0%) 0 (0%) 24h cpu 755m (12%) 0 (0%) |
Could you check if the node has the
{ "cpu": "6", "ephemeral-storage": "30308240Ki", "hugepages-1Gi": "0", "hugepages-2Mi": "0", "memory": "57688264Ki", "nvidia.com/gpu": "1", "pods": "110" } If it didn't show in the output, you need to use the nvidia CUDA driver and container runtime
{ "default-runtime": "nvidia", "runtimes": { "nvidia": { "path": "/usr/bin/nvidia-container-runtime", "runtimeArgs": [] } } }
Check the node capacity again and you should be able to use GPU in your minikube cluster. |
The new documentation gives more guidance as to what is required for minikube to run in the cloud: https://minikube.sigs.k8s.io/docs/start/linux/ minikube v1.4 also gives better error behavior for these cases. Closing as apparently a workaround has been found. |
I am working onto install Minikube on Azure VM - Ubuntu - NV6 .
I installed KVM2 driver , now as mentioned in the document it is required t have VT-x/AMD-v virtualization enabled in BIOS .
Question - How do i know if Azure VM - NV6 supports VT-x/AMD-v virtualization ? If it not by default , how can i enable it?
I also installed Minikube using curl , but it throws error if i try to start Minikube.
Any help would be much appreciated.
The text was updated successfully, but these errors were encountered: