I tried to write complex documentation for installing Kubernets (K8s) with components - ETCD, Flanneld, Kube-apiserver, … which you can find below. This documentation is self-explained - that means you should know what you do. It is assumed that reader has own background how some IT stuff works. If no, learn it. ;]

One of the biggest obstacle was network interfaces setting between host and guests. In my finally VBox configuration has every guest only host-only adapter (I spent a lot of time to run it on two interfaces (HO adapter + NAT) but it caused many problems). VBox's networking is described here.

FIXME Adding Nexus3 certificate between trust certs on the system.

VBox Topology

Every guest has only one interface - host-only adapter without DHCP server. On the guests I set static IP.

Master01 Ubuntu 16.04 LTE
Node01 Ubuntu 16.04 LTE
Node02 Ubuntu 16.04 LTE

Distribute SSH keys between servers.

ssh-keygen -t rsa -b 1024 -C ${HOSTNAME}
ssh-copy-id <user>@<server>

Installed services

Two of sources of step by step installation by CoreOS:

etcd flanneld dockerd kube - api server kube - controller manager kube - scheduler kubelet kube - proxy
Master yes* yes* yes* yes* yes yes yes*
Minion yes yes yes yes

* installed certificates

K8s cluster kube - dns K8s dashboard






Anisble installation

You can install all by using Ansible scripts. You need just created servers and some prerequizities.

There you can find out K8s Ansible installation.