This project provisions a simple 3 node cluster with Docker installed. The Rancher node contains the install for Rancher. After provisioning, go to http://192.168.56.101:8080
to access Rancher console.
- Vagrant
- VirtualBox
- Clone directory to local machine
- Open terminal and navigate to cloned directory
- Run
vagrant up
- After provisioning go to
http://192.168.56.101:8080
to access Rancher console
When prompted to add hosts to cluster from Rancher console access the nodes by opening terminal and going to cloned directory and running vagrant ssh node1
or vagrant ssh node2
- Refactor Vagrant script and provision nodes with a loop