devfestmn 2017 - learning docker and kubernetes with openshift
TRANSCRIPT
![Page 1: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/1.jpg)
LEARNING DOCKER AND KUBERNETES WITH OPENSHIFTA Hands-on Lab Exclusively for DevFestMN
Keith ResarContainer PaaS Solution ArchitectFebruary 4th, 2017
![Page 2: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/2.jpg)
![Page 3: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/3.jpg)
@KeithResar
1: GETTING TO CONTAINERSTHE BASICS, WHERE WE EXPLORE “WHY CONTAINERS?” AND “WHY ORCHESTRATION?”
2: ARCHITECTURE AND DISCOVERY LABDIVE INTO KUBERNETES, OPENSHIFT
3: SOURCE TO IMAGE AND APP LABFROM SOURCE CODE TO RUNNING APP
![Page 4: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/4.jpg)
@KeithResar
Keith Resar: BioWear many hats
@KeithResar [email protected]
CoderOpen Source Contributor and Advocate
Infrastructure Architect
![Page 5: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/5.jpg)
GETTING TO CONTAINERS
![Page 6: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/6.jpg)
CHALLENGE #1INFRASTRUCTURE LIMITS YOUR
APPS
![Page 7: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/7.jpg)
KEY TECHNOLOGY TRENDS
![Page 8: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/8.jpg)
KEY TECHNOLOGY TRENDS
![Page 9: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/9.jpg)
CONTAINERS MAKE MICROSERVICES COST EFFECTIVE
![Page 10: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/10.jpg)
CHALLENGE #2CONTAINER MANAGEMENT IS
HARD
![Page 11: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/11.jpg)
For those of you not in the room, this is where I saved you from
cliche images of container ships in disaster.
You’re Welcome!
![Page 12: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/12.jpg)
CHALLENGE #2CONTAINER MANAGEMENT IS
HARD
![Page 13: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/13.jpg)
![Page 14: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/14.jpg)
@KeithResar
![Page 15: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/15.jpg)
@KeithResar
![Page 16: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/16.jpg)
ARCHITECTURE DETAILS
![Page 17: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/17.jpg)
@KeithResar
10,000 foot overview
![Page 18: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/18.jpg)
@KeithResar
OpenShift runs on your choice of infrastructure
![Page 19: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/19.jpg)
@KeithResar
Nodes are instances of Linux where apps will run
![Page 20: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/20.jpg)
@KeithResar
Apps and components run in containers
Container Image
Container
Pod
![Page 21: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/21.jpg)
@KeithResar
Pods are the orchestrated unit in OpenShift
![Page 22: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/22.jpg)
@KeithResar
Masters are the Control Plane
![Page 23: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/23.jpg)
@KeithResar
API and Authentication
![Page 24: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/24.jpg)
@KeithResar
Desired and Current State
![Page 25: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/25.jpg)
@KeithResar
Orchestration and Scheduling
![Page 26: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/26.jpg)
@KeithResar
Placement by Policy
![Page 27: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/27.jpg)
@KeithResar
Services connect application components
![Page 28: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/28.jpg)
@KeithResar
Health and Scaling
![Page 29: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/29.jpg)
@KeithResar
What about unhealthy Pods?
![Page 30: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/30.jpg)
@KeithResar
The Master remediates Pod failures
![Page 31: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/31.jpg)
@KeithResar
What about app data?
![Page 32: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/32.jpg)
@KeithResar
Routing layer for external accessibility
![Page 33: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/33.jpg)
@KeithResar
Access via Web UI, CLI, IDE, API
![Page 34: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/34.jpg)
SOURCE TO IMAGE
![Page 35: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/35.jpg)
Source 2 Image Walk Through
CodeDevelopers can leverage existing
development tools and then access the OpenShift Web, CLI or IDE
interfaces to create new application services and push source code via
GIT. OpenShift can also accept binary deployments or be fully integrated with a customer’s existing CI/CD environment.
![Page 36: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/36.jpg)
Source 2 Image Walk Through
Container Image Registry
BuildOpenShift automates the Docker image build process with Source-
to-Image (S2I). S2I combines source code with a corresponding Builder image from the integrated Docker registry. Builds can also be triggered manually or automatically
by setting a Git webhook. Add in Build pipelines
![Page 37: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/37.jpg)
Source 2 Image Walk Through
Container Image Registry
DeployOpenShift automates the deployment of application
containers across multiple Node hosts via the Kubernetes
scheduler. Users can automatically trigger deployments on application
changes and do rollbacks, configure A/B deployments & other
custom deployment types.
![Page 38: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/38.jpg)
@KeithResar
Community CalloutsDOCKER MEETUP
KUBERNETES MEETUP
OPENSHIFT MEETUP
ANSIBLE MEETUP
![Page 40: DevFestMN 2017 - Learning Docker and Kubernetes with Openshift](https://reader035.vdocuments.net/reader035/viewer/2022062412/58a3dbd51a28ab7f0b8b5663/html5/thumbnails/40.jpg)
@KeithResar