Operating OpenShift - Helion
ISBN: 9781098106348
stron: 266, Format: ebook
Data wydania: 2022-11-07
Księgarnia: Helion
Cena książki: 211,65 zł (poprzednio: 246,10 zł)
Oszczędzasz: 14% (-34,45 zł)
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
Osoby które kupowały "Operating OpenShift", wybierały także:
- Windows Media Center. Domowe centrum rozrywki 66,67 zł, (8,00 zł -88%)
- Ruby on Rails. Ćwiczenia 18,75 zł, (3,00 zł -84%)
- Przywództwo w świecie VUCA. Jak być skutecznym liderem w niepewnym środowisku 58,64 zł, (12,90 zł -78%)
- Scrum. O zwinnym zarządzaniu projektami. Wydanie II rozszerzone 58,64 zł, (12,90 zł -78%)
- Od hierarchii do turkusu, czyli jak zarządzać w XXI wieku 58,64 zł, (12,90 zł -78%)
Spis treści
Operating OpenShift eBook -- spis treści
- Preface
- Conventions Used in This Book
- Using Code Examples
- OReilly Online Learning
- How to Contact Us
- Acknowledgments
- 1. Introduction
- Traditional Operations Teams
- How Site Reliability Engineering Helps
- OpenShift as a Tool for Site Reliability Engineers
- Individual Challenges for SRE Teams
- 2. Installing OpenShift
- OKD, OCP, and Other Considerations
- OKD
- OCP
- OSD, ROSA, and ARO
- Local Clusters with OpenShift Local
- Planning Cluster Size
- Instance Sizing Recommendations
- Node Sizing Recommendations
- Master Sizing Recommendations
- Infra Nodes
- Basic OpenShift Installations
- Installer-Provisioned Infrastructure
- Prerequisites
- Installation
- Self-Provisioned Infrastructure
- Installer-Provisioned Infrastructure
- Summary
- OKD, OCP, and Other Considerations
- 3. Running Workloads on OpenShift
- Deploying Code
- Deploying Existing Container Images
- Security context constraints
- Scaling and exposing deployments
- Deploying Applications from Git Repositories
- Deploying Existing Container Images
- Accessing Deployed Services
- Accessing Services from Other Pods
- Distribution of Requests
- Exposing Services
- Route by Auto-generated DNS Names
- Route by Path
- External Load Balancers
- Securing Services with TLS
- Specifying TLS Certificates
- Redirecting Traffic to TLS Route
- Lets Encrypt Trusted Certificates
- Encrypted Communication to the Service
- Passthrough
- Reencrypt
- Summary
- Deploying Code
- 4. Security
- Cluster Access
- Role-Based Access Control
- Roles and ClusterRoles
- RoleBindings and ClusterRoleBindings
- CLI
- ServiceAccounts
- Threat Modelling
- Workloads
- Summary
- 5. Automating Builds
- OpenShift Image Builds
- Docker Build
- Triggering a build with the generic webhook
- Triggering a build with the GitHub webhook
- More build triggers
- Source to Image (S2I) Build
- Automatic language detection
- Custom S2I Images
- Docker Build
- Red Hat OpenShift Pipelines
- Overview
- Install Red Hat OpenShift Pipelines
- Setting Up the Pipeline
- Implementing the tasks
- Composing the pipeline
- Turning the Pipeline into Continuous Integration
- Summary
- OpenShift Image Builds
- 6. In-Cluster Monitoring Stack
- Cluster Monitoring Operator
- Prometheus Operator
- Prometheus
- Persisting Your Metrics
- Query using PromQL
- Alerting Rules
- Deploy Your Rules
- Alertmanager
- Configure Alertmanager via a Secret
- Practice Alert Routing
- Configure Alertmanager from the UI
- Prometheus
- User Workload Monitoring
- Prometheus Operator
- Visualizing Metrics
- Console Dashboards
- Using Grafana
- Summary
- Cluster Monitoring Operator
- 7. Advanced Monitoring and Observability Strategies
- Service Oriented Monitoring
- Service Level Indicators
- Service Level Objectives
- Stage 1
- Stage 2
- Stage 3
- Final Stage
- Tools
- Route Monitor Operator
- Pyrra
- Installation
- Example
- Logging
- ClusterLogging
- Installation
- Configuration
- Log Forwarding
- Loki
- ClusterLogging
- Visualization
- Installation
- Creating a Grafana Instance
- Data Source
- Dashboards
- Summary
- Service Oriented Monitoring
- 8. Automating OpenShift Cluster Operations
- Recurring Operations Tasks
- Application Updates
- Certificate Renewals
- OpenShift Updates
- Backups
- Automating Recurring Operations Tasks
- Persistence
- Creating Snapshots
- Using CronJobs for Task Automation
- Automated VolumeSnapshots
- Automated OpenShift updates
- Cluster Configuration
- Manage Cluster Configuration with OpenShift GitOps
- Installing OpenShift GitOps
- Managing Configuration with OpenShift GitOps
- Managing Configuration of Multiple Clusters with OpenShift GitOps
- Summary
- Recurring Operations Tasks
- 9. Developing Custom Operators to Automate Cluster Operations
- Operator SDK
- Operator Design
- Bootstrapping the Operator
- Setting Up a CA Directory for Development
- Designing the Custom Resource Definition
- Installing the CustomResourceDefinition
- Local Operator Development
- The Reconcile Function
- Deploying the Operator
- Creating and Updating OpenShift Resources
- Specifying RBAC Permissions
- Routing Traffic to the Operator
- Adding Additional Controllers
- Updating Resource Status
- Summary
- 10. Practical Patterns for Operating OpenShift Clusters at Scale
- Cluster Lifecycle
- Cluster Configuration
- Logging
- Monitoring
- Alerting
- Automation
- On Call
- Primary On Call
- Backup On Call
- Shift Rotation
- Ticket Queue
- Incident Management
- When to Declare an Incident
- Inform the Customer
- Define Roles
- Incident Timeline
- Document the Process
- Postmortem
- Accessing OpenShift Clusters
- The Stage Is Yours
- Index