Skip to main content

Posts

Showing posts from January, 2018

Kubernetes Configuration on Centos or RHEL 7

To setup kubernetes we need two servers running at least for containers hosting. And one server will be acting as master.  In my setup I am going to use three servers as follows. master.example.com ( kubernetes master/controller ) node1.example.com ( kubernetes minion/client or docker host ) node2.example.com ( kuberntes minion/client or docker host ) For kubernetes cluster we will be using below details. 1. Infrastructure Private subnet IP range: 172.25.0.0/16 2. Flannel subnet IP range: 172.30.0.0/16 (You can choose any IP range just make sure it does not overlap with any other IP range) 3. Service Cluster IP range for Kubernetes: 10.254.0.0/16 (You can choose any IP range just make sure it does not overlap with any other IP range) 4. Kubernetes Service IP: 10.254.0.1 (First IP from service cluster IP range is always allocated to Kubernetes Service) 5. DNS service IP: 10.254.3.100 (You can use any IP from the service cluster IP range just make su...