Warning: Cannot modify header information - headers already sent by (output started at /data/web/virtuals/85063/virtual/www/domains/waldauf.org/lib/plugins/color/syntax.php:1) in /data/web/virtuals/85063/virtual/www/domains/waldauf.org/inc/actions.php on line 180
technology:k8s - WiKi

KUBERNETES

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 192.168.56.101
Node01 Ubuntu 16.04 LTE 192.168.56.102
Node02 Ubuntu 16.04 LTE 192.168.56.103

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


Configuration

ETCD

Flannel

Docker

Kubernetes

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.

Navigation
Print/export
Toolbox