Muutke küpsiste eelistusi

Operating OpenShift: An SRE Approach to Managing Infrastructure [Pehme köide]

  • Formaat: Paperback / softback, 300 pages, kõrgus x laius: 232x178 mm
  • Ilmumisaeg: 25-Nov-2022
  • Kirjastus: O'Reilly Media
  • ISBN-10: 1098106393
  • ISBN-13: 9781098106393
Teised raamatud teemal:
  • Pehme köide
  • Hind: 63,19 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Tavahind: 74,34 €
  • Säästad 15%
  • Raamatu kohalejõudmiseks kirjastusest kulub orienteeruvalt 2-4 nädalat
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Tellimisaeg 2-4 nädalat
  • Lisa soovinimekirja
  • Formaat: Paperback / softback, 300 pages, kõrgus x laius: 232x178 mm
  • Ilmumisaeg: 25-Nov-2022
  • Kirjastus: O'Reilly Media
  • ISBN-10: 1098106393
  • ISBN-13: 9781098106393
Teised raamatud teemal:
Kubernetes has gained significant popularity over the past few years, with OpenShift as one of its most mature and prominent distributions. But while OpenShift provides several layers of abstraction over vanilla Kubernetes, this software can quickly become overwhelming because of its rich feature set and functionality. This practical book helps you understand and manage OpenShift clusters from minimal deployment to large multicluster installations.

Principal site reliability engineers Rick Rackow and Manuel Dewald, who worked together on Red Hat's managed OpenShift offering for years, provide valuable advice to help your teams operate OpenShift clusters efficiently. Designed for SREs, system administrators, DevOps engineers, and cloud architects, Operating OpenShift encourages consistent and easy container orchestration and helps reduce the effort of deploying a Kubernetes platform. You'll learn why OpenShift has become highly attractive to enterprises large and small.

Learn OpenShift core concepts and deployment strategies Explore multicluster OpenShift Container Platform deployments Administer OpenShift clusters following best practices Learn best practices for deploying workloads to OpenShift Monitor OpenShift clusters through state-of-the-art concepts Build and deploy Kubernetes operators to automate administrative tasks Configure OpenShift clusters using a GitOps approach
Preface ix
1 Introduction
1(6)
Traditional Operations Teams
2(1)
How Site Reliability Engineering Helps
3(1)
OpenShift as a Tool for Site Reliability Engineers
4(1)
Individual Challenges for SRE Teams
5(2)
2 Installing OpenShift
7(18)
OKD, OCR and Other Considerations
7(1)
OKD
7(1)
OCP
8(1)
OSD, ROSA, and ARO
8(1)
Local Clusters with OpenShift Local
8(4)
Planning Cluster Size
12(1)
Instance Sizing Recommendations
12(1)
Node Sizing Recommendations
12(1)
Master Sizing Recommendations
13(2)
Infra Nodes
15(2)
Basic OpenShift Installations
17(1)
Installer-Provisioned Infrastructure
17(7)
Self-Provisioned Infrastructure
24(1)
Summary
24(1)
3 Running Workloads on OpenShift
25(34)
Deploying Code
26(1)
Deploying Existing Container Images
27(2)
Deploying Applications from Git Repositories
29(2)
Accessing Deployed Services
31(1)
Accessing Services from Other Pods
31(1)
Distribution of Requests
32(1)
Exposing Services
33(1)
Route by Auto-generated DNS Names
34(1)
Route by Path
35(2)
External Load Balancers
37(3)
Securing Services with TLS
40(1)
Specifying TLS Certificates
40(2)
Redirecting Traffic to TLS Route
42(2)
Let's Encrypt Trusted Certificates
44(7)
Encrypted Communication to the Service
51(6)
Summary
57(2)
4 Security
59(14)
Cluster Access
59(2)
Role-Based Access Control
61(1)
Roles and ClusterRoles
62(1)
RoleBindings and ClusterRoleBindings
63(2)
CLI
65(1)
ServiceAccounts
66(1)
Threat Modelling
67(1)
Workloads
68(4)
Summary
72(1)
5 Automating Builds
73(38)
OpenShift Image Builds
73(1)
Docker Build
74(7)
Source to Image (S2I) Build
81(3)
Custom S2I Images
84(3)
Red Hat OpenShift Pipelines
87(1)
Overview
88(2)
Install Red Hat OpenShift Pipelines
90(2)
Setting Up the Pipeline
92(12)
Turning the Pipeline into Continuous Integration
104(6)
Summary
110(1)
6 In-Cluster Monitoring Stack
111(32)
Cluster Monitoring Operator
111(3)
Prometheus Operator
114(16)
User Workload Monitoring
130(6)
Visualizing Metrics
136(1)
Console Dashboards
136(1)
Using Grafana
137(4)
Summary
141(2)
7 Advanced Monitoring and Observability Strategies
143(24)
Service Oriented Monitoring
143(1)
Service Level Indicators
144(1)
Service Level Objectives
145(5)
Tools
150(4)
Logging
154(1)
Cluster Logging
154(4)
Log Forwarding
158(1)
Loki
158(1)
Visualization
159(1)
Installation
159(2)
Creating a Grafana Instance
161(1)
Data Source
161(3)
Dashboards
164(2)
Summary
166(1)
8 Automating OpenShift Cluster Operations
167(32)
Recurring Operations Tasks
168(1)
Application Updates
169(1)
Certificate Renewals
169(1)
OpenShift Updates
169(1)
Backups
170(1)
Automating Recurring Operations Tasks
170(1)
Persistence
170(3)
Creating Snapshots
173(3)
Using Cronjobs for Task Automation
176(6)
Cluster Configuration
182(2)
Manage Cluster Configuration with OpenShift GitOps
184(1)
Installing OpenShift GitOps
185(4)
Managing Configuration with OpenShift GitOps
189(4)
Managing Configuration of Multiple Clusters with OpenShift GitOps
193(4)
Summary
197(2)
9 Developing Custom Operators to Automate Cluster Operations
199(34)
Operator SDK
201(1)
Operator Design
202(1)
Bootstrapping the Operator
203(4)
Setting Up a CA Directory for Development
207(2)
Designing the Custom Resource Definition
209(3)
Installing the Custom Resource Definition
212(1)
Local Operator Development
213(3)
The Reconcile Function
216(1)
Deploying the Operator
217(3)
Creating and Updating OpenShift Resources
220(3)
Specifying RBAC Permissions
223(2)
Routing Traffic to the Operator
225(2)
Adding Additional Controllers
227(2)
Updating Resource Status
229(2)
Summary
231(2)
10 Practical Patterns for Operating OpenShift Clusters at Scale
233(12)
Cluster Lifecycle
233(2)
Cluster Configuration
235(1)
Logging
235(1)
Monitoring
236(1)
Alerting
237(1)
Automation
238(1)
On Call
238(1)
Primary On Call
239(1)
Backup On Call
239(1)
Shift Rotation
239(1)
Ticket Queue
239(1)
Incident Management
240(1)
When to Declare an Incident
241(1)
Inform the Customer
241(1)
Define Roles
241(1)
Incident Timeline
242(1)
Document the Process
242(1)
Postmortem
243(1)
Accessing OpenShift Clusters
243(1)
The Stage Is Yours
243(2)
Index 245
Rick is a seasoned professional who has worked on cloud and container adoption throughout his career. As Site Reliability Engineer on Red Hat's OpenShift Dedicated team, Rick manages and maintains countless OpenShift clusters at scale and ensures their reliability every day by developing and following the best practices the reader will learn in this book. Manuel Dewald has been a software engineer on a variety of software projects from big enterprise software to distributed open source software composed of independent components. He's now working as Site Reliability Engineer at Red Hat, maintaining and automating the lifecycle of OpenShift clusters.