Kubernetes homelab: Prepping cluster with KVM and OpenVSwitch

We have a small server and we’re going to set up some VMs in KVM for a Kubernetes homelab. I am planing to use OpenVSwitch for my virtual network, set a proxy and a DNS, and finally, install Rancher, and create a cluster with Calico.  Over this post I am sharing my notes about installing…

Install Windows 2012R2 in KVM

Not a fan of windows. Some app requires windows though. We figured (after some google search) to install Windows 2012R2 in KVM loading the virtio drives from a cdrom iso over the setup process. 1. First of all you need to have the iso media (cdrom) and download it at your KVM (i.e. evaluation version…

Resize and manage cloud-init in KVM for Centos QCOW2 images

The following tools will help you to create KVM VMS or domains using CentOS Cloud images. Those images can be downloaded from http://cloud.centos.org/centos/7/images. Those images are ready to use with cloud-init scripts. cloud-init basically requires two files in a CD ISO image you have to insert during the VM creation with virt-install. Basically this post…

how-to use virt-install to connect at openvswitch bridge

Very simple question with an answer that is hard to find: how-to use virt-install to connect at openvswitch bridge. I am using Centos version 7 as my KVM host. After some testing and time searching. I got this. In a few words. Just add “virtualport_type=openvswitch” to your network settings. After you have downloaded your qcow2…