Building and testing base images for Kubernetes cluster nodes with Packer, qemu and Chef InSpec

This post will detail an approach for building a base image on top of Ubuntu to be used as a start image for provisioning Kubernetes nodes (masters or workers) running as virtual machines. We will be using packer to automate the build process and to ensure basic compliance testing with InSpec tests. The target audience are people who are/will be running non-managed Kubernetes clusters or people that are looking into how to leverage Packer as a tool for automated, reproducible and tested virtual machine images.
(more…)

Continue Reading Building and testing base images for Kubernetes cluster nodes with Packer, qemu and Chef InSpec

Kubernetes on GKE from scratch using Terraform

GKE, Google Container Engine, is an easy way of getting started with a managed Kubernetes service. In this post, we show how to get started from scratch and wind up with a cluster that is provisioned using Terraform. Defining your infrastructure in Terraform means that you can easily create a replica of your GKE environment. This is useful for e.g. a staging environment or to recover from a disaster. Let’s get started!

(more…)

Continue Reading Kubernetes on GKE from scratch using Terraform

Geo-distributed WordPress with Kubernetes and TiDB

This article will explore building geo-distributed applications, with a particular focus on using NewSQL databases.

If you can endure some theory, you will be richly awarded in the end with sample code to run your WordPress-powered blog or CMS across three (!) Kubernetes clusters in three (!) different geographical regions.

(more…)

Continue Reading Geo-distributed WordPress with Kubernetes and TiDB