项目作者: manishjindal

项目描述 :
Install Production Ready Kubernetes Cluster in 5 min
高级语言: Shell
项目地址: git://github.com/manishjindal/kubernetes-cluster-setup-using-kubespray.git


kubernetes-cluster-setup-using-kubespray

Setup has been tried on CentOs7 Digital Ocean Machines.

SetUp

yum install -y git

  1. * Clone Repository

git clone https://github.com/manishjindal/kubernetes-cluster-setup-using-kubespray.git

  1. Make Sure Ansible master has access to all three node for controlling the machine.
  2. You need not to install anything on this machine (including ansible) everything will be install automatically
  3. * Modify Hosts File

cd kubernetes-cluster-setup-using-kubespray

  1. After Cloning the Repo modify hosts.ini file
  2. ```$xslt
  3. node1 ansible_ssh_host=**139.59.6.140** # ip=10.3.0.1
  4. node2 ansible_ssh_host=**159.65.159.161** # ip=10.3.0.2
  5. node3 ansible_ssh_host=**159.65.159.170** # ip=10.3.0.3

Update ip address for node1,node2,node3.

  • Run install.sh script

All you are all set to setup Kubernetes cluster

  1. source install.sh