Tag Archives: Docker

Installing Contiv plugin on Kubernetes cluster

Introduction In various posts, we have already introduced some container networking solutions (see here and here). In this post, we will focus on Contiv, an opensource networking plugin that brings policy based networking across containers. What is Contiv Contiv is a Docker certified (yet opensource) networking plugin for Docker Swarm but it also works on Kubernetes. It is… Read More »

Docker-machine with vSphere ESX

Introduction In various previous posts, we have been using docker-machine to create some servers on Virtualbox (see here), Digital Ocean (see here) and AWS (see here). As I recently setup an entire vSphere environment on an Intel NUC, I wanted to use docker-machine to setup some servers also on my vSphere environment. This short posts describes how to… Read More »

Installing Kubernetes via Kubeadm on Ubuntu

Introduction We have already spent quite some posts on getting a Kubernetes cluster up and running. This post describes the installation of a single node cluster using Minikube (a Single node Kubernetes cluster) and using a CoreOS setup. It also addresses how to setup a multinode cluster using CoreOS. In this post, we used this CoreOS multi-node setup… Read More »

Kubernetes: basic concepts – part 3

Replica Set ReplicaSets are the next-generation Replication Controllers. The only difference between a ReplicaSet and a Replication Controller right now is the selector support. Similar to Replication Controllers, a ReplicaSet ensures that a specified number of pod “replicas” are running at any given time. Let’s give it a try: apiVersion: extensions/v1beta1 kind: ReplicaSet metadata: name: nginx-pod-rs spec: replicas:… Read More »

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 »