Introduction to Containers, Kubernetes, and Red Hat OpenShift (DO180) helps you build core knowledge in managing containers through hands-on experience with containers, Kubernetes, and the Red Hat® OpenShift® Container Platform. These skills are needed for multiple roles, including developers, administrators, and site reliability engineers.
This course is based on Red Hat OpenShift Container Platform 4.2.
Author(s): Zach Gutterman et al.
Edition: Edition 1 20191105
Year: 2019
Introduction to Containers, Kubernetes, and Red Hat OpenShift
Table of Contents
Document Conventions
Introduction
DO180: Introduction to Containers, Kubernetes, and Red Hat OpenShift
Orientation to the Classroom Environment
Internationalization
Chapter 1. Introducing Container Technology
Overview of Container Technology
Quiz: Overview of Container Technology
Overview of Container Architecture
Quiz: Overview of Container Architecture
Overview of Kubernetes and OpenShift
Quiz: Describing Kubernetes and OpenShift
Guided Exercise: Configuring the Classroom Environment
Summary
Chapter 2. Creating Containerized Services
Provisioning Containerized Services
Guided Exercise: Creating a MySQL Database Instance
Lab: Creating Containerized Services
Summary
Chapter 3. Managing Containers
Managing the Life Cycle of Containers
Guided Exercise: Managing a MySQL Container
Attaching Persistent Storage to Containers
Guided Exercise: Persisting a MySQL Database
Accessing Containers
Guided Exercise: Loading the Database
Lab: Managing Containers
Summary
Chapter 4. Managing Container Images
Accessing Registries
Quiz: Working With Registries
Manipulating Container Images
Guided Exercise: Creating a Custom Apache Container Image
Lab: Managing Images
Summary
Chapter 5. Creating Custom Container Images
Designing Custom Container Images
Quiz: Approaches to Container Image Design
Building Custom Container Images with Dockerfiles
Guided Exercise: Creating a Basic Apache Container Image
Lab: Creating Custom Container Images
Summary
Chapter 6. Deploying Containerized Applications on OpenShift
Describing Kubernetes and OpenShift Architecture
Quiz: Describing Kubernetes and OpenShift
Creating Kubernetes Resources
Guided Exercise: Deploying a Database Server on OpenShift
Creating Routes
Guided Exercise: Exposing a Service as a Route
Creating Applications with Source-to-Image
Guided Exercise: Creating a Containerized Application with Source-to-Image
Creating Applications with the OpenShift Web Console
Guided Exercise: Creating an Application with the Web Console
Lab: Deploying Containerized Applications on OpenShift
Summary
Chapter 7. Deploying Multi-Container Applications
Considerations for Multi-Container Applications
Guided Exercise: Deploying the Web Application and MySQL Containers
Deploying a Multi-Container Application on OpenShift
Guided Exercise: Creating an Application with a Template
Lab: Deploying Multi-Container Applications
Summary
Chapter 8. Troubleshooting Containerized Applications
Troubleshooting S2I Builds and Deployments
Guided Exercise: Troubleshooting an OpenShift Build
Troubleshooting Containerized Applications
Guided Exercise: Configuring Apache Container Logs for Debugging
Lab: Troubleshooting Containerized Applications
Summary
Chapter 9. Comprehensive Review
Comprehensive Review
Lab: Containerizing and Deploying a Software Application
Appendix A. Implementing Microservices Architecture
Implementing Microservices Architectures
Guided Exercise: Refactoring the To Do List Application
Summary
Appendix B. Creating a GitHub Account
Creating a GitHub Account
Appendix C. Creating a Quay Account
Creating a Quay Account
Repositories Visibility
Appendix D. Useful Git Commands
Git Commands