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.
This installation is divided into the following parts:
Other relevant links for this documentation.
You can click on any of the link to view them.
The Main Document - Kubernetes 1.10.0 with 3 Master and Slave nodes and SSL on CentOS7
KVM Host and Guest Preprations
SSL Certificate Generations
Configure simple external HAPROXY
Configuring ETCD with SSL on the Master servers
Creation of the POD Network information in ETCD for flanneld
Install and Configure the Master Service on the Kubernetes Master servers
Installation and Configuration of the Kubernetes Slaves
Installation and testing of kube-dns
Configure the masters not to run kubernetes scheduled PODs
You can click on any of the link to view them.
The Main Document - Kubernetes 1.10.0 with 3 Master and Slave nodes and SSL on CentOS7
KVM Host and Guest Preprations
SSL Certificate Generations
Configure simple external HAPROXY
Configuring ETCD with SSL on the Master servers
Creation of the POD Network information in ETCD for flanneld
Install and Configure the Master Service on the Kubernetes Master servers
Installation and Configuration of the Kubernetes Slaves
Installation and testing of kube-dns
Configure the masters not to run kubernetes scheduled PODs
No comments:
Post a Comment