Book Image

Learn OpenShift

By : Denis Zuev, Artemii Kropachev, Aleksey Usov
Book Image

Learn OpenShift

By: Denis Zuev, Artemii Kropachev, Aleksey Usov

Overview of this book

Docker containers transform application delivery technologies to make them faster and more reproducible, and to reduce the amount of time wasted on configuration. Managing Docker containers in the multi-node or multi-datacenter environment is a big challenge, which is why container management platforms are required. OpenShift is a new generation of container management platforms built on top of both Docker and Kubernetes. It brings additional functionality to the table, something that is lacking in Kubernetes. This new functionality significantly helps software development teams to bring software development processes to a whole new level. In this book, we’ll start by explaining the container architecture, Docker, and CRI-O overviews. Then, we'll look at container orchestration and Kubernetes. We’ll cover OpenShift installation, and its basic and advanced components. Moving on, we’ll deep dive into concepts such as deploying application OpenShift. You’ll learn how to set up an end-to-end delivery pipeline while working with applications in OpenShift as a developer or DevOps. Finally, you’ll discover how to properly design OpenShift in production environments. This book gives you hands-on experience of designing, building, and operating OpenShift Origin 3.9, as well as building new applications or migrating existing applications to OpenShift.
Table of Contents (24 chapters)

Deploying Multi-Tier Applications Using Templates

Previously, you learned how to run a standalone container in OpenShift. In the real world, almost all applications are composed of multiple interconnected containers. For example, the WordPress container requires access to a database instance. OpenShift provides a facility that lets you pack everything related to your application into a single object, called a template, and deploy everything at once by processing that template. The basic template concept was explained in Chapter 9, Advanced OpenShift Concepts, and it is very similar to Docker Compose. This chapter will be a hands-on lab experiment, illustrating how to use OpenShift templates to deploy applications. The upcoming labs will show you, in detail, how to create a multi-tier application from scratch.

In this chapter, we will cover the following topics:

  • An OpenShift...