openshift for operators - red hat · openshift for operators tech overview ... new base os: rhel...

18
Optimize OpenShift 3 Deployments Optimize OpenShift 3 Deployments on Red Hat Enterprise Linux 7 & Atomic: on Red Hat Enterprise Linux 7 & Atomic: OPENSHIFT FOR OPERATORS OPENSHIFT FOR OPERATORS @nhripps @collier_s @goern @thoraxe N. Harrison Ripps Scott Collier Christoph Görn Erik M. Jacobs redhat.slides.com/nhr/openshift-for-operators

Upload: trankiet

Post on 02-Jul-2018

237 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: OPENSHIFT FOR OPERATORS - Red Hat · OPENSHIFT FOR OPERATORS TECH OVERVIEW ... New base OS: RHEL Atomic or RHEL 7+ versus RHEL 6 ... (Download the Lab Guide) LAB OVERVIEW

Optimize OpenShift 3 DeploymentsOptimize OpenShift 3 Deployments

on Red Hat Enterprise Linux 7 & Atomic:on Red Hat Enterprise Linux 7 & Atomic:

OPENSHIFT FOR OPERATORSOPENSHIFT FOR OPERATORS

@nhripps

@collier_s

@goern

@thoraxe

N. Harrison Ripps

Scott Collier

Christoph Görn

Erik M. Jacobs

redhat.slides.com/nhr/openshift-for-operators

Page 2: OPENSHIFT FOR OPERATORS - Red Hat · OPENSHIFT FOR OPERATORS TECH OVERVIEW ... New base OS: RHEL Atomic or RHEL 7+ versus RHEL 6 ... (Download the Lab Guide) LAB OVERVIEW

I can't hear you over how awesome my app is!

DEVELOPERS:DEVELOPERS:

Page 3: OPENSHIFT FOR OPERATORS - Red Hat · OPENSHIFT FOR OPERATORS TECH OVERVIEW ... New base OS: RHEL Atomic or RHEL 7+ versus RHEL 6 ... (Download the Lab Guide) LAB OVERVIEW

My Problem

OPERATORS:OPERATORS:

Developer Problem

Page 4: OPENSHIFT FOR OPERATORS - Red Hat · OPENSHIFT FOR OPERATORS TECH OVERVIEW ... New base OS: RHEL Atomic or RHEL 7+ versus RHEL 6 ... (Download the Lab Guide) LAB OVERVIEW

AGENDAAGENDAOPENSHIFT FOR OPERATORSOPENSHIFT FOR OPERATORS

TECH OVERVIEWWhat is OpenShift?

What is RHEL Atomic?

LAB OVERVIEWLAB OVERVIEW

A quick look at the lab

environment

LABSLABS

WRAP-UP

Where to continue your quest for learning

Don't forget to rate our lab!

Learn how to get OpenShift running -

and keep it running.

Page 5: OPENSHIFT FOR OPERATORS - Red Hat · OPENSHIFT FOR OPERATORS TECH OVERVIEW ... New base OS: RHEL Atomic or RHEL 7+ versus RHEL 6 ... (Download the Lab Guide) LAB OVERVIEW

TECHNOLOGY OVERVIEWTECHNOLOGY OVERVIEW

Page 6: OPENSHIFT FOR OPERATORS - Red Hat · OPENSHIFT FOR OPERATORS TECH OVERVIEW ... New base OS: RHEL Atomic or RHEL 7+ versus RHEL 6 ... (Download the Lab Guide) LAB OVERVIEW

OVERVIEW: OPENSHIFT 3OVERVIEW: OPENSHIFT 3The Next-Generation PaaSThe Next-Generation PaaS

Page 7: OPENSHIFT FOR OPERATORS - Red Hat · OPENSHIFT FOR OPERATORS TECH OVERVIEW ... New base OS: RHEL Atomic or RHEL 7+ versus RHEL 6 ... (Download the Lab Guide) LAB OVERVIEW

OVERVIEW: OPENSHIFT 3OVERVIEW: OPENSHIFT 3Components:Components:

Container

Host

Container

API

Orchestration Middleware

& Services

Lifecycle,

Project Mgt.

User Experience

Page 8: OPENSHIFT FOR OPERATORS - Red Hat · OPENSHIFT FOR OPERATORS TECH OVERVIEW ... New base OS: RHEL Atomic or RHEL 7+ versus RHEL 6 ... (Download the Lab Guide) LAB OVERVIEW

OVERVIEW: OPENSHIFT 3OVERVIEW: OPENSHIFT 3What's Different?What's Different?

v3 versus v2:New base OS: RHEL Atomic or RHEL 7+ versus RHEL 6

New container model: docker versus gears

New orchestration engine: Kubernetes versus broker

New packaging model: docker images versus cartridges

New routing tier: cluster-wide routing versus Node-based

Better experience for developers and operators

Page 9: OPENSHIFT FOR OPERATORS - Red Hat · OPENSHIFT FOR OPERATORS TECH OVERVIEW ... New base OS: RHEL Atomic or RHEL 7+ versus RHEL 6 ... (Download the Lab Guide) LAB OVERVIEW

OVERVIEW: RHEL ATOMICOVERVIEW: RHEL ATOMICRun and orchestrate container-based apps at scaleRun and orchestrate container-based apps at scale

What is Atomic?

A variation of Red Hat Enterprise Linux 7

Components:

systemd

Docker

SELinux

Just enough OS for Containers

OStree delivers yum + RPM as an

atomic operation

Page 10: OPENSHIFT FOR OPERATORS - Red Hat · OPENSHIFT FOR OPERATORS TECH OVERVIEW ... New base OS: RHEL Atomic or RHEL 7+ versus RHEL 6 ... (Download the Lab Guide) LAB OVERVIEW

LAB OVERVIEWLAB OVERVIEW( )Download the Lab Guide

Page 11: OPENSHIFT FOR OPERATORS - Red Hat · OPENSHIFT FOR OPERATORS TECH OVERVIEW ... New base OS: RHEL Atomic or RHEL 7+ versus RHEL 6 ... (Download the Lab Guide) LAB OVERVIEW

LAB OVERVIEWLAB OVERVIEWWhat can I expect?What can I expect?

This lab is about learning how to get OpenShiftrunning - and keep it running.

"The POC": OpenShift v3 Test Drive on RHEL Atomic

"The Rollout": Deploying OpenShift v3 Using Ansible

"Maintenance Mode": Components, Apps and Users

"Cluster Party Tricks": Node Maintenance

Page 12: OPENSHIFT FOR OPERATORS - Red Hat · OPENSHIFT FOR OPERATORS TECH OVERVIEW ... New base OS: RHEL Atomic or RHEL 7+ versus RHEL 6 ... (Download the Lab Guide) LAB OVERVIEW

LAB ENVIRONMENT:LAB ENVIRONMENT:Test Driving OpenShift on RHEL AtomicTest Driving OpenShift on RHEL Atomic

ose3-atomic.example.com192.168.133.10User / Password: cloud-user / redhat

Start and interact with a completely

containerized OpenShift instance

Perform some basic CLI and web console tasks

ose3-atomic.example.com

systemddocker

OpenShiftmanaged

containers

Page 13: OPENSHIFT FOR OPERATORS - Red Hat · OPENSHIFT FOR OPERATORS TECH OVERVIEW ... New base OS: RHEL Atomic or RHEL 7+ versus RHEL 6 ... (Download the Lab Guide) LAB OVERVIEW

LAB ENVIRONMENT:LAB ENVIRONMENT:OpenShift v3 in 3-Host ClusterOpenShift v3 in 3-Host Cluster

ose3-master.example.com

ose3-node1.example.com

ose3-node2.redhat.com

User / Password: root / redhat

Deploy and manage OpenShift 3 in a model

production environment

ose3-master.example.com

RHEL 7

docker

openshift-node svcs

openshift-master svcs

pod pod rtr

ose3-node1.example.com

RHEL 7

docker

openshift-node svcs

pod pod pod

ose3-node2.example.com

RHEL 7

docker

openshift-node svcs

pod pod pod

Page 14: OPENSHIFT FOR OPERATORS - Red Hat · OPENSHIFT FOR OPERATORS TECH OVERVIEW ... New base OS: RHEL Atomic or RHEL 7+ versus RHEL 6 ... (Download the Lab Guide) LAB OVERVIEW

LAB TIME!LAB TIME!

Page 15: OPENSHIFT FOR OPERATORS - Red Hat · OPENSHIFT FOR OPERATORS TECH OVERVIEW ... New base OS: RHEL Atomic or RHEL 7+ versus RHEL 6 ... (Download the Lab Guide) LAB OVERVIEW

REVIEWREVIEWOverviews

OpenShift

RHEL Atomic

Labs

"The POC"

"The Rollout"

"Maintenance Mode"

"Cluster Party Tricks"

Page 16: OPENSHIFT FOR OPERATORS - Red Hat · OPENSHIFT FOR OPERATORS TECH OVERVIEW ... New base OS: RHEL Atomic or RHEL 7+ versus RHEL 6 ... (Download the Lab Guide) LAB OVERVIEW

TAKEAWAY?TAKEAWAY?TAKE IT WITH YOU:TAKE IT WITH YOU:

$ docker pull openshift/origin

Page 17: OPENSHIFT FOR OPERATORS - Red Hat · OPENSHIFT FOR OPERATORS TECH OVERVIEW ... New base OS: RHEL Atomic or RHEL 7+ versus RHEL 6 ... (Download the Lab Guide) LAB OVERVIEW

Check out these resources in a web browser near you:

LOOKING FOR MORE?LOOKING FOR MORE?

OpenShift Blog: OpenShift Upstream: Project Atomic:

blog.openshift.comopenshift.org

projectatomic.io

Page 18: OPENSHIFT FOR OPERATORS - Red Hat · OPENSHIFT FOR OPERATORS TECH OVERVIEW ... New base OS: RHEL Atomic or RHEL 7+ versus RHEL 6 ... (Download the Lab Guide) LAB OVERVIEW

THANKTHANKYOU!YOU!