Clone :
$ git clone https://github.com/aksaramaya/kubernetes-setup.git
Replace host IP with your environment at build/host
file. Add master and node to /etc/hosts on all machines (not needed if hostnames already in DNS)
Example :
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.7.11 ak-master #your master IP Address
192.168.7.12 ak-node1
192.168.7.13 ak-node2
192.168.7.14 ak-node3
install kubernetes to all node :
$ sudo make
or
$ sudo make bootstrap
$ ssh [email protected]
$ sudo make master
$ sudo make slave
$ git clone https://github.com/aksaramaya/kubernetes-setup.git
$ cd kubernetes-setup
$ vagrant up