Skip to content
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

Add KubeVirt add-on #28

Open
2 of 5 tasks
fabiand opened this issue Aug 29, 2017 · 12 comments
Open
2 of 5 tasks

Add KubeVirt add-on #28

fabiand opened this issue Aug 29, 2017 · 12 comments

Comments

@fabiand
Copy link

fabiand commented Aug 29, 2017

KubeVirt is a project to run Virtual Machines on Kubernetes and OpenShift.

KubeVirt can already be deployed on minikube, and a next step is to also get it running on OpenShift. it should then be provided as an add-on to minishift to make sure that it can be easily tested.

Things to be fixed

@gbraad
Copy link
Member

gbraad commented Aug 29, 2017

I think more is needed on our side to make this work. For instance we would need to add an additional package/kernel module to the CentOS ISO, and likely also to B2D? Ref: kubernetes/minikube#1845

@gbraad
Copy link
Member

gbraad commented Jun 26, 2018

oc adm policy add-scc-to-user privileged system:serviceaccount:kube-system:kubevirt-privileged
oc adm policy add-scc-to-user privileged system:serviceaccount:kube-system:kubevirt-controller
oc adm policy add-scc-to-user privileged system:serviceaccount:kube-system:kubevirt-infra
export VERSION=v0.7.0-alpha.2
oc apply -f https://github.com/kubevirt/kubevirt/releases/download/${VERSION}/kubevirt.yaml

Is this still needed? kubevirt/kubevirt#732

@fabiand
Copy link
Author

fabiand commented Jun 27, 2018

Not if you run the commands manually.

@tripledes
Copy link

Using this KubeVirt seems to deploy correctly, but using this manifest to test it, I always get:

nodes are available: 1 Insufficient devices.kubevirt.io/kvm, 1 Insufficient devices.kubevirt.io/tun

I'm using CentOS image for minishift, kvm and tun modules are loaded and my host has kvm_intel with nested virtualization enabled. Any ideas about what else could be missing?

@gbraad
Copy link
Member

gbraad commented Jul 12, 2018

@fabiand ^^ ? what makes the decision if a node is supported/available? as it seems the scheduling decides this node is actually not usable... ?

@tripledes
Copy link

Version v0.7.0-alpha.2 works (thanks @karmab), seems related to kubevirt/kubevirt#1196.

@gbraad
Copy link
Member

gbraad commented Jul 12, 2018 via email

@tripledes
Copy link

tripledes commented Jul 12, 2018

@gbraad you mean setting KUBEVIRT_VERSION to v0.7.0-alpha.2 by default and a note to the readme?

@gbraad
Copy link
Member

gbraad commented Jul 12, 2018 via email

@tripledes
Copy link

@gbraad sure thing!

@fabiand how does that sound?

@fabiand
Copy link
Author

fabiand commented Jul 12, 2018

Sounds good to me!

+1

And yes, there are some ripples/issues after we merged the DP work, and we should solve them until 0.8.0.

In the meantime this workaround might work: $ oc create configmap -n kube-system kubevirt-config --from-literal debug.useEmulation=true

But in my testing there was still an issue with tun devices ... So alpha2 sounds good.

@tripledes
Copy link

tripledes commented Jul 13, 2018

@gbraad @fabiand just sent #141 which includes a features file, so far didn't need to add any go code for the scenarios. Later on, I could also try to check the API to verify if it's properly running but so far I feel this is good enough for now. Let me know if you think otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants