Not able to run KuberVirt in minikube

11 views
Skip to first unread message

arvind bhatt

unread,
Sep 1, 2023, 7:22:56 AM9/1/23
to kubevirt-dev
Hi,
I am trying to run KubeVirt on minikube on my Windows machine. I tried to run it on local minikube and also on WSL. But in both case I was not able to run start VM. 

I used this KillerKoda link to follow KubeVirt installation. It works on KillerKoda playground only not anywhereelse.

NAME     AGE     STATUS             READY
testvm   4m52s   CrashLoopBackOff   False

 Name:     containerdisk
 Reason:   Snapshot is not supported for this volumeSource type [containerdisk]

Barak Korren

unread,
Sep 1, 2023, 7:40:33 AM9/1/23
to arvind bhatt, kubevirt-dev
Kubevirt is AFAIK based on KVM, so you can't (AFAIK) run it on Windows.

בתאריך יום ו׳, 1 בספט׳ 2023, 14:23, מאת arvind bhatt ‏<arvind...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "kubevirt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubevirt-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubevirt-dev/1b711b99-3fd2-4f86-b976-43fb211b8e2bn%40googlegroups.com.

arvind bhatt

unread,
Sep 1, 2023, 10:01:33 AM9/1/23
to Barak Korren, kubevirt-dev
Thanks Korren

So it means it’ll work on native Linux machine only. Even if I use WSL on Windows will not. Is my understanding correct?

Regards
arvind

Sent from handheld device
[Please excuse typos if any]

From: Barak Korren <bko...@redhat.com>
Sent: Friday, September 1, 2023 5:10:14 PM
To: arvind bhatt <arvind...@gmail.com>
Cc: kubevirt-dev <kubevi...@googlegroups.com>
Subject: Re: [kubevirt-dev] Not able to run KuberVirt in minikube
 

Daniel Hiller

unread,
Sep 1, 2023, 10:34:22 AM9/1/23
to arvind bhatt, Barak Korren, kubevirt-dev
Hey,

On Fri, Sep 1, 2023 at 4:01 PM arvind bhatt <arvind...@gmail.com> wrote:
Thanks Korren

So it means it’ll work on native Linux machine only. Even if I use WSL on Windows will not. Is my understanding correct?

according to [1] KubeVirt requires the /dev/kvm device to enable hardware emulation. That said, you can try to install qemu under WSL and then enable software emulation as described in the document [1]. 

Note that:
1) I haven't tried that myself so I can't tell whether it will work or not, and
2) software emulation is slower by orders of magnitude.

However, for trying it out it might suffice.

If that doesn't work for you and you don't have a linux machine available you can always try out the Killercoda track [2]

 
Good luck!

Best,
Daniel

arvind bhatt

unread,
Sep 5, 2023, 11:35:08 AM9/5/23
to Daniel Hiller, Barak Korren, kubevirt-dev
Thanks Daniel

Regards
arvind

Sent from handheld device
[Please excuse typos if any]

From: Daniel Hiller <dhi...@redhat.com>
Sent: Friday, September 1, 2023 8:04:03 PM
To: arvind bhatt <arvind...@gmail.com>
Cc: Barak Korren <bko...@redhat.com>; kubevirt-dev <kubevi...@googlegroups.com>
Reply all
Reply to author
Forward
0 new messages