Physical replication in PostgreSQL 10 on GNU/Linux

Some time ago I had to install and setup a PostgreSQL cluster for a very critical application, an Warehouse Management System (WMS) developed internally for an ecommerce startup in which I worked. I would like to share the steps I followed back in those days to setup the proper configuration, I have to say that … Continue reading Physical replication in PostgreSQL 10 on GNU/Linux

Provision VMs on KVM with Terraform

Some months ago I attended to a talk in which it was explained how to provision infrastructure in AWS with Terraform, I was talking with @raularanda (the host of that talk) about the idea of making a lab similar but with KVM, this entry it's the result of that conversation. Terraform is a software which … Continue reading Provision VMs on KVM with Terraform

Create a KVM template to K8s clusters based on Debian GNU/Linux Buster

VM logical volume Let's create the volume group to store logical volumes to our templates: # fdisk -l /dev/sda ... /dev/sda4 351645696 468860927 117215232 55.9G 8e Linux LVM # pvcreate /dev/sda4 ... Physical volume "/dev/sda4" successfully created. # vgcreate vg-kvm /dev/sda4 Volume group "vg-kvm" successfully created # pvs PV VG Fmt Attr PSize PFree /dev/nvme0n1p5 … Continue reading Create a KVM template to K8s clusters based on Debian GNU/Linux Buster