Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Preface
Who This Book Is For
What You Will Learn
Conventions Used in This Book
Using Code Examples
O’Reilly Online Learning
How to Contact Us
Acknowledgments
1. A Kubernetes Application Platform
Linux Containers
Kubernetes
What OpenShift Adds
Web Console
Curated Software Catalogs: An OpenShift App Store
CI/CD: Pipelines
Networking and Service Mesh
Integrated Prometheus Metrics, Monitoring, and Alerts
Summary
2. OpenShift Concepts
Projects Organize Applications and Teams
Projects and Applications
Application Components in OpenShift
Pods
Services
OpenShift Routes
Building Container Images
Deploying Applications
Interacting with OpenShift
oc
OpenShift Web Console
Summary
3. OpenShift Lab
CodeReady Containers
CRC Requirements
Installing CRC on Windows
CRC Always Wants More
Logging In to OpenShift
Log In to the Web Console
OpenShift Web Console
Developer Web Console
Log In on the Command Line
Summary
4. Deploying an Application on OpenShift
A Simple Sample Application
Git and GitHub
Building and Deploying the Application on OpenShift
Adding and Deploying a New Feature
Changing hello source
A new OpenShift Deployment
Summary
5. OpenShift Pipelines
Tekton
OpenShift Pipelines Operator
Installing the Pipelines Operator
OperatorHub
Install the Red Hat OpenShift Pipelines Operator
Pipelines in the Web Console
Using Pipelines
OpenShift Pipelines Resources
Command
Script
Summary
6. Developing and Deploying from Source Code
Noted: A Cloud-Ready Notes Application
Application Topology
Fork the Backend Repository
Create a New Project for the Noted App
Deploy the Backend Component
Inspect the Backend Resources
Deploy the Frontend Component
A Running Noted Application
Automatic Pipeline Runs Using Tekton Triggers
Pipeline Triggers
The Forward Proxy Workaround
Deploy the ngrok Template
GitHub Webhook Configuration
The Reversed Text Quarkus-Backend Bug Fix
Summary
7. Evolving the Application: Data Persistence
Database Without Delay
Database Templates
Service Binding Operator
The Postgres Operator Designed for Service Binding
Add the Sample DB Operators OperatorSource
Install the PostgreSQL Database Operator
Verify Operator Installation
Deploy a PostgreSQL Database
Configure the pgsql quarkus-backend Branch
Inspect the quarkus-backend pgsql Branch
Service Binding Operator Usage
Configure a ServiceBinding
Test the ServiceBinding
Inspect the ServiceBinding Injection
Persistence in Action
Summary
8. Production Deployment and Scaling
Application Scaling
Manual Scaling
The Service Abstraction
Automatic Scaling
The Horizontal Pod Autoscaler
Update the quarkus-backend requests and limits
Configure a Horizontal Pod Autoscaler
Verify autoscaling
Health Checks
Health-Checking Probes
Readiness probe
Liveness probe
Startup probe
Configure the Health Checks in OpenShift
Production Deployment Strategies
Available Deployment Strategies on OpenShift
Rolling deployment strategy
Canary deployments
Recreate deployment strategy
Custom deployment strategy
Configuring a Deployment Strategy
Deployment Rollbacks
Summary
9. Monitoring and Managing Applications on OpenShift
Listing and Detailing Resources
Using Labels to Filter Listed Resources
Describing Resources
Events and Logs
Debugging an Application in Its Container
oc rsh
oc exec
oc debug
OpenShift Monitoring
Monitoring in the Web Console Developer Perspective
Monitoring a Deployment
Deleting Resources, Applications, and Projects
Summary
10. Templates, Operators, and OpenShift Automation
Templates
Templates in the OpenShift Web Console
Inspecting templates
Processing templates with oc process
Creating Your Own Templates
Operators
Operator Subscriptions and the Operator Lifecycle Manager
Operators from the Developer Perspective
Summary
Index
← Prev
Back
Next →
← Prev
Back
Next →