Kubevirt: Unable to deploy kubevirt in minikube

Created on 21 Jun 2020  路  6Comments  路  Source: kubevirt/kubevirt

/kind bug
I am trying to deploy kubevirt on minikube but getting below error.
{"component":"virt-operator","level":"info","msg":"failed to load the certificate in /etc/virt-operator/certificates","pos":"cert-manager.go:173","reason":"open /etc/virt-operator/certificates/tls.crt: no such file or directory","timestamp":"2020-06-21T17:31:38.578176Z"}
I tried with both driver=none and kvm2 but same result.

I am using minikube version 1.11.0, k8s version 1.18.3, kubevirt version 0.29.2

kinbug

Most helpful comment

Can you try using this guide instead https://kubevirt.io/quickstart_minikube/ ? it's the updated way to install kubevirt on minikube.

You can also try downloading the new 1.12 beta version of minikube https://github.com/kubernetes/minikube/releases/tag/v1.12.0-beta.0. KubeVirt has been added as an add on and can be used by running minikube addon enable kubevirt.

All 6 comments

Hey! what guide are you following? or how are you trying to set KubeVirt up so?

Hi.. I am following below document to deploy kubevirt. Only change I did was, that guide is using older version of kubevirt and I am using v0.29.2
https://kubevirt.io/2018/Hello-KubeVirt-on-Minikube.html

Can you try using this guide instead https://kubevirt.io/quickstart_minikube/ ? it's the updated way to install kubevirt on minikube.

You can also try downloading the new 1.12 beta version of minikube https://github.com/kubernetes/minikube/releases/tag/v1.12.0-beta.0. KubeVirt has been added as an add on and can be used by running minikube addon enable kubevirt.

@codificat This blog post is obsolete and should be removed from the blogs pages. This gets back to how our discussion on ensuring new users are directed to the correct GEtting Started page.

/assign @codificat

Thanks for the report - the blog post has now been removed as discussed.

There's also work in progress to improve the mentioned minikube quickstart page to incorporate the kubevirt addon, among other improvements.

Was this page helpful?
0 / 5 - 0 ratings