OpenShift  iii  Routes and Templates ...................................................................................................................................28 Authentication and Authorization .................................................................................................................32 6. OPENSHIFT - GETTING STARTED.........................................................................................35 Creating a New Application ...........................................................................................................................35 Develop and Deploy a Web Application.........................................................................................................37 7. OPENSHIFT - BUILD AUTOMATION.....................................................................................52 8. OPENSHIFT - CLI .................................................................................................................56 OpenShift CLI Setup .......................................................................................................................................56 CLI Configuration Files ...................................................................................................................................57 Setting Up CLI Client ......................................................................................................................................58 CLI Profiles .....................................................................................................................................................59 9. OPENSHIFT – CLI OPERATIONS ...........................................................................................61 Basic Commands............................................................................................................................................61 Build and Deploy Commands .........................................................................................................................62 Application Management Commands............................................................................................................63 Troubleshooting and Debugging Commands..................................................................................................63 Advanced Commands ....................................................................................................................................64 Setting Commands.........................................................................................................................................64 10. OPENSHIFT – CLUSTERS ..................................................................................................65 Setting Up Cluster ..........................................................................................................................................65 Adding Hosts to a Cluster...............................................................................................................................67 Managing Cluster Logs ...................................................................................................................................68 Upgrading a Cluster .......................................................................................................................................70 11. OPENSHIFT – APPLICATION SCALING ..............................................................................74 Deployment Strategies in OpenShift ..............................................................................................................75