Kubernetes on Centos 7 with HA in AWS or Onpremise. Deploy one app with Circle Ci.

History:

Kubernetes is an open-source platform orchestration of containers, this technology is used by Google in its apps.
This project was donated by Google to Cloud Native Foundation https://www.cncf.io/ and this project recive the colaboration of multiple cloud vendors such as AWS,Azure,Cloud Google Platform ,Bluemix , Red Hat and Alibaba Cloud.

Details:

  • Kubernetes masters tree in HA —kubernetes Latest version
  • Docker version 17.0.3
  • SO Centos 7 in provider AWS.
  • Example of CI with Circle CI.

Prerequisites

  • At least six ec2 instances: three for master ,two for minion and one nginx loadbalancer.

NODES

masters:

172.31.27.31 kub01 | Availability Zone — 2b
172.31.41.254 kub02 | Availability Zone — 2c
172.31.12.35 kub03 | Availability Zone — 2a

load-balancer:

172.31.12.10 kublb01 | Availability Zone — 2a

minions:

172.31.12.20 minion1 | Availability Zone — 2a
172.31.12.21 minion2 | Availability Zone — 2a

Architecture:

Starting to Work:

Open your AWS account and select the region for work. I use Ohio region -this region in my account is empty- .

VPC — default.

After editing, copy the code in Advanced Details.

DevOps SR | SRE @Miroculus.com San Francisco, CA www.itshellws.org