This chapter doesn't have strict environmental restrictions; any OpenShift installations and development environments are supported: MinitShift, oc cluster up, or standard production-ready deployment based on Ansible. It is up to you which flavor you use. However, this chapter is based on the oc cluster up running within vagrant. The following Vagrantfile can be used to deploy the lab:
$ cat Vagrantfile
Vagrant.configure(2) do |config|
config.vm.define "openshift" do |conf|
conf.vm.box = "centos/7"
conf.vm.network "private_network", ip: "172.24.0.11"
conf.vm.hostname = 'openshift.example.com'
conf.vm.network "forwarded_port", guest: 80, host: 1080
conf.vm.network "forwarded_port", guest: 443, host: 9443
conf.vm.network "forwarded_port", guest: 8080...