Video description
This course will take you on a journey where you'll learn to Install and configure an OpenShift cluster using various options. You will learn about Platform as a Service and the advantages of building one with containers. Docker offers a way to run isolated processes and also allows you to package an application, along with its run time environment, using primitives such as dockerfiles. However, when it comes to running Docker in a production-like environment, with container workloads spanning across more than one node, you need a COE (Container Orchestration Engine). COEs offer clustering and convert your nodes into one super computer, make intelligent decisions as to where to schedule the containers, connect containers running on different nodes by setting up a multi-host network, and offer many other interesting features such as fault tolerance, zero downtime deployments, and more. OpenShift simplifies Kubernetes deployment by abstracting away the complexity and by providing a simple, unified interface. It also gives you a complete Platform as a Service offering by packaging Kubernetes, Container Registry, Container Runtime, and build and pipelines tools including Jenkins; it also creates best practices and integration out of the box. You can just point to your application code, and OpenShift builds and deploys it taking care of high availability, fault tolerance, scalability, self-healing, and reliability.
What You Will Learn
- Understand Platform as a Service and the advantages of building one with containers
- Install and configure an OpenShift Cluster using various options
- Deploy applications with High Availability, Fault Tolerance, and Self-Healing built in
- Set up service discovery and load balancing with OpenShift Services and Router, and understand service networking
- Manage different types of workload with Deployments, Stateful sets, Crons, and Jobs
- Understand how persistent storage works with PVs, PVCs, Storage classes, and dynamic provisioners
- Set up Auto Scaling with the Horizontal Pod Autoscaler
Audience
This course is designed for developers who would like to deploy their applications with containers and are keen to understand how to leverage OpenShift features; operations or DevOps people who would like to build a PaaS or Container as a Service Offering and operate it; anyone who would like to understand OpenShift from the ground up; anyone who wants to run containers in production or production-like environments; and those who want to sit OpenShift certifications by RedHat.
About The Author
Gourav Shah: Gourav comes with more than a decade of experience in building, managing, and automating systems at scale. He has helped organizations design and implements DevOps practices. He left his corporate job in 2012 to start Initcron, a niche DevOps consulting firm. He eventually got into delivering DevOps workshops for the corporates in India and then internationally. He has conducted more than 300 instructor-led training.
Table of contents
- Chapter 1 : Setting up the Learning Environment
-
Chapter 2 : Openshift Quick Dive - Deploying a Web App with HA
- Section Introduction
- okd Console Tour, Launching app from the catalogue
- Deploying a PHP for a GitHub repo
- Paas in action - observing how created a build, deployment and even published app
- Demo of high availability and fault tolerance with openshift
- Rolling out a new version when application updates
- Defining Dynamic Scaling
- Service Discovert, Deploying and connecting to a database
-
Chapter 3 : Concepts - Projects, Pods Service, Routes, Build and Deployment Configs
- Section Introduction
- Projects and Multi Tenancy
- Pods and Containers - Deployment Units
- When to run multi container Pods
- Deployment Configs - Availability and Release Strategies
- Replication Controllers, Lables and Selectors
- Services and Routes - Publishing Services, Service Discovery and Load Balancing
- Builds, Pipelines and Image Streams
-
Chapter 4 : Just Enough Docker for an Openshift Practitioner
- Setting up and validating docker environment
- Running your first container
- Making containers persist with -idt options
- Essential Container Operations - list, logs, exec, cp, inspect, stop, rm
- Publishing containers using port mapping
- Using docker instead of VMs to create development environments
- Portainer - Web console to managing Docker Environments
- Launching Application Stack with Docker Compose
- Building an image manually with docker commit
- Automating image builds with a Dockerfile
- Dockerfile Primer
-
Chapter 5 : Openshift the Kubernetes Way
- Section Introduction
- Creating a project and switching context
- Writing a pod spec and applying it with oc cli
- Rebuilding docker image with non-privileged User and Port
- Pod operations - connect with shell, check logs, attach, delete
- Achieving high availability and self-healing with Replication Controllers
- Exposing application with Service and NodePort
- Kube proxy, iptables - ppenshift service internals
- Exposing service with a DNS Route - openshift equivalent to Ingress
- Adding deployment strategy
- Achieving Zero Downtime Deployments
- Deploying additional Kubernetes specific objects
- Cleaning Up
-
Chapter 6 : Deploying Vote and Redis with Images - Images, Image Streams, Router Configs
- Section Introduction
- Setting openshift on a remote Fedora server
- Deploying with image
- Exposing vote app with Router
- Introduction to oc new-app command
- Setup vote app with using oc cli utility
- Using annotations to change Router configurations
- Deploying Redis and connecting it with the vote frontend
- Update environment vars and images with oc set
- Imagestream Primer and updating vote app
- Chapter 7 : Deploying apps from Source, Template, Dockerfile - S2I Builders,Build Configs
Product information
- Title: The Ultimate Openshift (2018) Bootcamp
- Author(s):
- Release date: September 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789809541
You might also like
book
Hybrid Cloud Apps with OpenShift and Kubernetes
Selling your CTO on the merits of OpenShift and Kubernetes is only the beginning. To operate …
book
Getting Started with OpenShift
Intrigued by the possibilities of developing web applications in the cloud? With this concise book, you …
book
Deploying to OpenShift
Get an in-depth tour of OpenShift, the container-based software deployment and management platform from Red Hat …
video
Modern Container-Based DevOps: Managing Microservices using Kubernetes and Docker
p> 8+ Hours of Video Instruction Modern Container-Based DevOps LiveLessons: Managing Microservices using Kubernetes and Docker …