AWS – Create Ubuntu server using Terraform

Introduction The post you’re about to read is pretty similar to an earlier post you might have come across. At that time, I was in need for a Kubernetes cluster on DigitalOcean. Today, I need a Kubernetes cluster on AWS for professional reasons. Why not re-use the work we have done before…. Getting Started Ensure you have Terraform… Read More »

DigitalOcean: Install Kubernetes manually (kubeadm)

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 »

Python with Jinja2 and YAML

Introduction In this post we’ll see how to work with Jinja2 and YAML in your Python projects, to easily create and modify templates based on a YAML template. Essentially, we will use the configuration in the YAML file to replace the placeholders in the Jinja 2 template file. Jinja2 is widely used, examples include Ansible and also Flask… 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 »