Sunday, July 1, 2018

How to multi master k8s Kubernetes 1.10.0 multi-master installation with 3 Master and 3 Slave Servers Installation on CentOS7 using CBS CentOS Repositories with SSL enabled with ETCD and Kubernetes services

Kubernetes 3 Master and 3 Slave Servers Installation on CentOS7 using CBS CentOS Repositories with SSL enabled with ETCD and Kubernetes services.


About the setup

This setup uses Virtual Machines running on KVM Hypervisor (libvirtd) on a CentOS7 KVM Host. Hence the sections on KVM Host Configuration part, network creation on the KVM host, Creation of the CentOS machine to be used as template and cloning that to create the Virtual Machines for Kubernetes can be skipped or adjusted as per your setup.

Please note the the ideas in the below resources had been referenced as well for this installation.

The network details that are going to be relevant here are as
·         kubem{1..3} to work as Kubernetes Masters
·         kuben{1..3} to work as Kubernetes slave nodes
·         IP Network of the nodes - This is the subnet where the primary interfaces (eth0) of all the masters and the slaves had been configure their IP on - 172.16.0.0/16
·         POD Network for Kubernetes to launch the PODs = Cluster Network = 24.24.0.0/16 - This is the network on which Kubernetes Schedules the PODs on. Please note that here this is an overlay flannel network which is configured using flannel.
·         Service Network for the services in Kubernetes = 100.65.0.0/24
·         This environment is working behind an external HTTP/HTTPS proxy server that is used by all these VMs for the internet access.

No comments:

Post a Comment