Overview

Kubernetes is the new mind breaking technology of Google and it is very close to Docker. In fact you need docker to run Kubernetes as well. So you can say that Kubernetes is based on Docker. So let's get it going. We will use 3 machines:

1 Master

2 Nodes (not slaves or workers)

To configure our kubernetes, we have to install the following:

Docker (or rkt) - Container runtime.

Kubelet - Kubernetes Node Agent.

Kubeadm - The tool used to build the cluster.

Kubectl - The Kubernetes Client

CNI - Install support for CNI network (Container network Interface / Spec or Model for Kubernetes Network)

But first, let's configure the repo. The repo is configured very easy using the following script:

Repo Config

Please bare in mind, this is for Ubuntu Xenial 64. If you have different distribution please adjust….the last entry :)

Please run this command on all 3 machines.