Kubernetes: basic concepts – part 2

Pods Pods allows us to keep containers grouped in terms of networking and hardware infrastructure. Pods can run one or more containers in them. The idea behind pods is that they are a logical group of containers that can be replicated and scheduled by Kubernetes. A pod can be either created through the web interface or via a… Read More »

Kubernetes: basic concepts – part 1

Introduction In this post, we will use the (multi-node) environment we created in this post. The idea is to walk through a very simple application and get familiar with some basic Kubernetes concepts. Getting started with Kubernetes commands First, we will look at all the pods that are running on our Kubernetes cluster. A pod basically is just… Read More »

Installing local Kubernetes environment

Introduction There are various way to start with Kubernetes. By far the most recommended seems to be to go to Google Cloud Platform and launch it from there. However, if you’re like me, you prefer to have a local environment which you can fully control. In this post, we will address the topic to install such a local… Read More »

Docker networking: Weave

Introduction Launching some hosts We have done this many times before, so it should not be a surprise. Launch two hosts (we’ll call then node-01 and node-02) using docker-machine: WAUTERW-M-G007:Vagrant wauterw$ docker-machine create -d virtualbox node-01 Running pre-create checks… Creating machine… (node-01) Copying /Users/wauterw/.docker/machine/cache/boot2docker.iso to /Users/wauterw/.docker/machine/machines/node-01/boot2docker.iso… (node-01) Creating VirtualBox VM… (node-01) Creating SSH key… (node-01) Starting the VM…… Read More »

Docker networking: Flannel

Introduction Flannel is a networking technology used to connect containers. It is distributed and maintained by CoreOS and was originally designed for Kubernetes. It is a generic overlay network that can be used as a simple alternative to existing docker networking solutions. It provides a configurable virtual overlay network for Docker. There are many different ways to network… Read More »

Docker networking: Docker overlay network with Consul

Introduction I have said it before already, container technology is great. As long as you launch containers on a single host, life is easy. However, running containers on multiple hosts is a bit more difficult, mainly related to the multi-host networking. Luckily Docker has improved on this after the acquisition of Socketplane in 2015. In this post, we… Read More »

Rancher: Running custom Express application

Introduction In this post, we set up a Rancher cluster and in this one we installed a default WordPress application on it. Though this was a very simple example, it gave us a good view on how to work with Rancher. In this post, we are continuing from where we left of and we’ll install a customer application… Read More »

Rancher: Installing WordPress from catalogue

Introduction In this post, we set up a simple Rancher cluster on Virtualbox. Enough to get started and to run our first service on top of this cluster. This post will describe how to setup WordPress on Rancher. Reading this tutorial is probably going to take you more time than do it, so I encourage you to do… Read More »

Rancher: Getting started

Introduction Containers are causing a real revolution. Docker is great (although I’m starting to see some decay as well) but Docker is not always as straightforward as you might think. It’s hard to manage millions of Docker containers, it’s hard to setup networking properly, …. Since release 1.12, there are some improvements though. In any case, I already… Read More »