Category Archives: Operations

Install Kubernetes on DigitalOcean (manually)

Introduction In a previous post, we have created 3 Ubuntu servers on DigitalOcean with Terraform. We will continue with installing Kubernetes on these servers. For performance reasons however I have created 3 servers with 2 virtual CPU’s and 2GB of memory.  Creating 3 servers on DigitalOcean The previous post however still applies perfectly but we need to change… Read More »

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 »