Book Image

OpenShift Multi-Cluster Management Handbook

By : Giovanni Fontana, Rafael Pecora
5 (1)
Book Image

OpenShift Multi-Cluster Management Handbook

5 (1)
By: Giovanni Fontana, Rafael Pecora

Overview of this book

For IT professionals working with Red Hat OpenShift Container Platform, the key to maximizing efficiency is understanding the powerful and resilient options to maintain the software development platform with minimal effort. OpenShift Multi-Cluster Management Handbook is a deep dive into the technology, containing knowledge essential for anyone who wants to work with OpenShift. This book starts by covering the architectural concepts and definitions necessary for deploying OpenShift clusters. It then takes you through designing Red Hat OpenShift for hybrid and multi-cloud infrastructure, showing you different approaches for multiple environments (from on-premises to cloud providers). As you advance, you’ll learn container security strategies to protect pipelines, data, and infrastructure on each layer. You’ll also discover tips for critical decision making once you understand the importance of designing a comprehensive project considering all aspects of an architecture that will allow the solution to scale as your application requires. By the end of this OpenShift book, you’ll know how to design a comprehensive Red Hat OpenShift cluster architecture, deploy it, and effectively manage your enterprise-grade clusters and other critical components using tools in OpenShift Plus.
Table of Contents (23 chapters)
1
Part 1 – Design Architectures for Red Hat OpenShift
6
Part 2 – Leverage Enterprise Products with Red Hat OpenShift
11
Part 3 – Multi-Cluster CI/CD on OpenShift Using GitOps
15
Part 4 – A Taste of Multi-Cluster Implementation and Security Compliance
19
Part 5 – Continuous Learning

Application build using OpenShift Pipelines and S2I

For this step, we are going to use the quarkus-build pipeline that you can find in the chapter14/Build/Pipeline/quarkus-build.yaml file. This pipeline is very straightforward and explained in the following diagram:

Figure 14.2 – Pipeline to build a Java Quarkus application

In this pipeline we are using pre-existing ClusterTasks to do all the work:

  • git-clone: Used to clone the Git repository.
  • s2i-java: Build the Java source code using S2I and Buildah to generate the image and push it to the Quay registry. S2I is a very convenient way to build code from many different languages, such as Java, Python, Node.js, and others. See the Further reading section of this chapter for more information about S2I.
  • openshift-client: Used to run the manifests that deploy the application. Application manifests use Kustomize to declare the Kubernetes manifest. We covered Kustomize in Chapter 10, OpenShift...