kubevirt / demo

Easy to use KubeVirt demo based on minikube.
Apache License 2.0
109 stars 59 forks source link

Update to use KubeVirt v0.0.2 #19

Closed fabiand closed 7 years ago

fabiand commented 7 years ago

Signed-off-by: Fabian Deutsch fabiand@fedoraproject.org

fabiand commented 7 years ago

Works for me:


$ minikube start --vm-driver kvm --network-plugin cni --iso-url https://storage.googleapis.com/minikube-builds/1846/minikube-testing.iso
Starting local Kubernetes v1.7.0 cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
Setting up certs...
Starting cluster components...
Connecting to cluster...
Setting up kubeconfig...
Kubectl is now configured to use the cluster.

$ ./run-demo.sh 
KubeVirt (v0.0.2) demo on minikube
- Checking kubectl version ... OK
- Checking for minikube ... OK
- Checking out KubeVirt ... OK
- Deploying manifests - this can take several minutes!
vm "testvm" created
- Waiting for the cluster to be ready ...
  Cluster changed, checking if KubeVirt is ready ... Not yet.
...
  Cluster changed, checking if KubeVirt is ready ... Not yet.
  Cluster changed, checking if KubeVirt is ready ... Yes!
KubeVirt is now ready.
Optional, register the virt plugin for VM access:
  ./run-demo.sh plug
Try: $ kubectl get vms

$ ./test.sh 
README contains correct version ... OK
VM is running ... OK
VM serial console works ... OK
PASS

$