Technical requirements
For this chapter, we will be using the following configuration of VMs managed via Vagrant using the default VirtualBox provider:
Name | Role |
openshift-master | Master |
openshift-node-1 | Node |
openshift-node-2 | Node |
Note
Make sure you have enough RAM on your desktop or laptop you use. The configuration above was tested with 8GB RAM, but it was barely enough, so we recommend running it on a system with 16GB at least.
This configuration corresponds to the following Vagrantfile:
$ cat Vagrantfile
$common_provision = <<SCRIPT
cat <<EOF >> /etc/hosts
172.24.0.11 openshift-master.example.com openshift-master
172.24.0.12 openshift-node-1.example.com openshift-node-1
172.24.0.13 openshift-node-2.example.com openshift-node-2
EOF
sed -i '/^127.0.0.1.*openshift.*$/d' /etc/hosts
yum -y update
yum install -y docker
systemctl start docker
systemctl enable docker
SCRIPT
$master_provision = <<SCRIPT
yum -y install git epel-release
yum -y install ansible
git clone -b release-3...