Oreilly - The Ultimate Openshift (2018) Bootcamp
by Gourav Shah | Publisher: Packt Publishing | Release Date: September 2018 | ISBN: 9781789809541
With OpenShift Origin 3.10 / OKD 2018, Kubernetes, Jenkins Pipelines, Prometheus, Istio, Micro Services, PaaSAbout This VideoHow to Install and configure an OpenShift Cluster using various optionsUnderstand Platform as a Service and the advantages of building one with containersIn DetailThis 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.
- Chapter 1 : Setting up the Learning Environment
- Section Introduction 00:02:34
- Option I Part A: Setup Docker 00:04:40
- Option I Part B: Install oc client and bring up all in one cluster with oc clus 00:08:51
- Option II part A: Setup Minishift 00:06:25
- Option II Part B: Setup 1 node cluster with Minishift 00:10:09
- Chapter 2 : Openshift Quick Dive - Deploying a Web App with HA
- Section Introduction 00:02:00
- okd Console Tour, Launching app from the catalogue 00:08:06
- Deploying a PHP for a GitHub repo 00:05:49
- Paas in action - observing how created a build, deployment and even published app 00:08:10
- Demo of high availability and fault tolerance with openshift 00:04:25
- Rolling out a new version when application updates 00:07:50
- Defining Dynamic Scaling 00:01:40
- Service Discovert, Deploying and connecting to a database 00:07:57
- Chapter 3 : Concepts - Projects, Pods Service, Routes, Build and Deployment Configs
- Section Introduction 00:00:55
- Projects and Multi Tenancy 00:07:09
- Pods and Containers - Deployment Units 00:07:25
- When to run multi container Pods 00:06:52
- Deployment Configs - Availability and Release Strategies 00:05:59
- Replication Controllers, Lables and Selectors 00:06:48
- Services and Routes - Publishing Services, Service Discovery and Load Balancing 00:06:34
- Builds, Pipelines and Image Streams 00:07:01
- Chapter 4 : Just Enough Docker for an Openshift Practitioner
- Setting up and validating docker environment 00:05:37
- Running your first container 00:05:07
- Making containers persist with -idt options 00:04:43
- Essential Container Operations - list, logs, exec, cp, inspect, stop, rm 00:05:18
- Publishing containers using port mapping 00:07:10
- Using docker instead of VMs to create development environments 00:04:25
- Portainer - Web console to managing Docker Environments 00:05:46
- Launching Application Stack with Docker Compose 00:04:12
- Building an image manually with docker commit 00:05:55
- Automating image builds with a Dockerfile 00:04:27
- Dockerfile Primer 00:03:46
- Chapter 5 : Openshift the Kubernetes Way
- Section Introduction 00:02:47
- Creating a project and switching context 00:08:06
- Writing a pod spec and applying it with oc cli 00:07:54
- Rebuilding docker image with non-privileged User and Port 00:05:44
- Pod operations - connect with shell, check logs, attach, delete 00:05:31
- Achieving high availability and self-healing with Replication Controllers 00:08:33
- Exposing application with Service and NodePort 00:08:18
- Kube proxy, iptables - ppenshift service internals 00:07:19
- Exposing service with a DNS Route - openshift equivalent to Ingress 00:04:44
- Adding deployment strategy 00:08:05
- Achieving Zero Downtime Deployments 00:08:07
- Deploying additional Kubernetes specific objects 00:07:57
- Cleaning Up 00:03:53
- Chapter 6 : Deploying Vote and Redis with Images - Images, Image Streams, Router Configs
- Section Introduction 00:01:44
- Setting openshift on a remote Fedora server 00:09:55
- Deploying with image 00:07:56
- Exposing vote app with Router 00:08:36
- Introduction to oc new-app command 00:05:59
- Setup vote app with using oc cli utility 00:05:26
- Using annotations to change Router configurations 00:05:32
- Deploying Redis and connecting it with the vote frontend 00:05:57
- Update environment vars and images with oc set 00:06:05
- Imagestream Primer and updating vote app 00:08:15
- Chapter 7 : Deploying apps from Source, Template, Dockerfile - S2I Builders,Build Configs
- Section Introduction 00:02:40
- Launching demo app with source strategy 00:05:51
- S2I Builder Primer 00:06:05
- Deploying results app with Nodejs S2I Builder 00:08:46
- Launching db with a template and parameters 00:06:37
- Using docker strategy with oc new-app to deploy worker app 00:04:54
- Rebuilding from changes to local repository 00:05:48