karmab / kubevirt_sprint_demo

0 stars 4 forks source link

This repo holds details for the demo of the current sprint work in kubevirt

scope of the demo

current issues

infra used

requisites

deployment

basic openshift installation

yum -y install openshift-ansible screen
ansible-playbook -i /root/hosts /usr/share/ansible/openshift-ansible/playbooks/prerequisites.yml
ansible-playbook -i /root/hosts /usr/share/ansible/openshift-ansible/playbooks/deploy_cluster.yml

post install

we disable selinux and install virtctl on all the nodes with this template

ansible-playbook -i /root/hosts /root/post.yml

demo install

we install kubevirt and sample elements with this template making use of the demo role

ansible-playbook -i /root/hosts /root/deploy.yml

Workflow

Additional tricks

# get image at https://github.com/prasmussen/gdrive#downloads
sudo cp gdrive-linux-x64 /usr/bin/gdrive
sudo chmod a+x /usr/bin/gdrive
gdrive download 1hG9otdB7Vs2J1nqwyUPpdVKP3QdvAqoC
qemu-img convert -O raw SummitVM.vdi SummitVM.img

Lessons learnt

Problems?

Send me a mail at karimboumedhel@gmail.com !

Mac Fly!!!

karmab