Currently, I am trying out drone to automate building of docker images for my kubernetes cluster. I have a Docker-in-Docker (DIND) setup in Kubernetes to enable building docker containers in drone. Yes, those are a lot of Docker layers! Kubernetes, then drone, the whatever Docker containers drone is building … but it works! At least, now it does. Before, I noticed that I did not have network connectivity inside the build containers.
This is going to be short: My old trusty laptop began showing signs of old age. The screen started flickering, a problem I already knew. Last time, I bought a new screen from Alibaba for ~100€, but wasn’t going to spend that much on a three year old laptop. So, new laptop it is. The Lenovo V110-15IAP looked nice, so I ordered it online. It arrived today, but I wasn’t going to spend hours to set up a new OS, copy all files over, check if everything is ok — and I also didn’t have an external drive to hold all files during transfer … there must be an easier way.
Introduction At the 7th DevOps Camp in May 2017 I listened to a very interesting talk by Frank Prechtel and Andreas Heidoetting called “Welche Software für Infrastructure as Code? — Puppet vs. Chef vs. Ansible vs. Saltstack - welches Tool für welchen Einsatzzweck?” (Which software for Infrastructure as Code? — Puppet vs. Chef vs. Ansible vs. Saltstack - which tool for what use case?). In that talk, they arranged those tools along two axes:
I wanted to try out Ceph at home, but hesitated, because it usually requires several physical boxes containing several disks to tap its full potential. Still, because the old virtualized ZFS setup proved quite complicated and inflexible, I decided to give Ceph a try. In the end, it still proved to be complicated, but offeres many unique benefits, such as easy storage expansion as well as efficient and fine-tuneable space usage.
Keeping a dozen virtual machines up-to-date can be quite a task. In this post, I will show how to do it automatically and efficiently using yum-cron, a local mirror with rsync, and saltstack. I will also describe the setup of a “custom” RPM repository to distribute packages built with the awesome fpm Automatic updates with yum-cron Downloading and applying updates with yum can be automated using yum-cron, which is more or less a wrapper around yum that runs peridodically with cron (hence the name).