kubevirt / kubevirt.github.io

KubeVirt website repo, documentation at https://kubevirt.io/user-guide/
https://kubevirt.io
MIT License
30 stars 117 forks source link

Does kubevirt installation work with Amazon EKS? #967

Open jaspatel1 opened 2 months ago

jaspatel1 commented 2 months ago

What happened: I created Amazon EKS and connected to cluster using kubectl. https://kubevirt.io/quickstart_cloud/ i tried to install kubevirt and it gets stuck on deploying status with this error kubectl logs kubevirt.kubevirt.io/kubevirt -n kubevirt

error: no kind "KubeVirt" is registered for version "kubevirt.io/v1" in scheme "pkg/scheme/scheme.go:28"

What you expected to happen: I was expecting that all resources will be deployed, but it doesn't with above error.

Create Amazon EKS or any CSP cluster and try to follow this simple guide https://kubevirt.io/quickstart_cloud/

Environment: k8s version 1.30 kubevirt latest

aburdenthehand commented 1 month ago

@tiraboschi Is this something you can help with?

tiraboschi commented 1 month ago

Kubevirt is expected to work on EKS. See https://kubevirt.io/2023/KubeVirt-on-autoscaling-nodes.html for another example.

But please notice that it will require metal class nodes since AFAIK you will not get nested virtualization support on Amazon VMs.

You can try with SW emulation:

$ kubectl patch --namespace kubevirt kubevirts.kubevirt.io/kubevirt --type=merge --patch='{"spec":{"configuration":{"developerConfiguration":{"useEmulation":true}}}}'

but it will be terribly slow and not suited for any real use case.

@jaspatel1 do you have metal noded or did you at least tried with emulation?