Skip to Content
Learn OpenShift
book

Learn OpenShift

by Denis Zuev, Artemii Kropachev, Aleksey Usov
July 2018
Intermediate to advanced
504 pages
11h 34m
English
Packt Publishing
Content preview from Learn OpenShift

Technical requirements

In this chapter, we will practice with OpenShift deployed on the VM managed by Vagrant. The last section on auto-scaling requires Hawkular metrics to be enabled, so you will have to install OpenShift with openshift_metrics_install_metrics Ansible variable. The metrics collector and dashboard are deployed in their own pods, so we will also need to provide the VM with more RAM. Use the following Vagrantfile to deploy the lab:

$ cat Vagrantfile$lab_openshift = <<SCRIPTyum -y updateyum install -y epel-release git docker httpd-tools java-1.8.0-openjdk-headlessyum install -y ansible python-passlibsystemctl start dockersystemctl enable dockergit clone -b release-3.9 https://github.com/openshift/openshift-ansible /root/openshift-ansible ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Operating OpenShift

Operating OpenShift

Rick Rackow, Manuel Dewald
OpenShift for Developers, 2nd Edition

OpenShift for Developers, 2nd Edition

Joshua Wood, Brian Tannous
Kubernetes: Up and Running, 2nd Edition

Kubernetes: Up and Running, 2nd Edition

Brendan Burns, Joe Beda, Kelsey Hightower

Publisher Resources

ISBN: 9781788992329Supplemental Content