Top Banner
DevOps & OpenShift
41

DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

May 21, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

DevOps & OpenShift

Page 2: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

I keep hearing about DevOps…What is it?

Page 3: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

FOR MANY ORGANIZATIONS,

WHAT IS I.T. LIKE TODAY?

Page 4: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

WATERFALL AND SILOS

DEVELOPMENT OPERATIONS

Application Version X

Page 5: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

IT OPS IS UNDER PRESSURE

Page 6: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

ENVIRONMENT IS OUT OF CONTROL

Page 7: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

DEVELOPERS WANT THE LATEST TOOLS

Page 8: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

THE BUSINESS IS DEMANDING MORE

AGILITY! VELOCITY!

Page 9: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

WHAT CAN HAPPEN IN THIS ENVIRONMENT?

Page 10: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

THE LATEST CRITICAL APP UPGRADE

Page 11: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

THE MAINTENANCE WINDOW STRETCHES PAST MIDNIGHT…

THE LATEST CRITICAL APP UPGRADE

Page 12: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

THE MAINTENANCE WINDOW STRETCHES PAST MIDNIGHT…

THE PRODUCTION DATABASE BECOMES CORRUPTED DURING UPGRADE

THE LATEST CRITICAL APP UPGRADE

Page 13: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

THE MAINTENANCE WINDOW STRETCHES PAST MIDNIGHT…

THE PRODUCTION DATABASE BECOMES CORRUPTED DURING UPGRADE

THE WEBSITE IS DOWN

THE LATEST CRITICAL APP UPGRADE

Page 14: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

THE MAINTENANCE WINDOW STRETCHES PAST MIDNIGHT…

THE PRODUCTION DATABASE BECOMES CORRUPTED DURING UPGRADE

THE WEBSITE IS DOWN

THE IN-STORE POINT-OF-SALE SYSTEMS ARE DOWN

THE LATEST CRITICAL APP UPGRADE

Page 15: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

THE MAINTENANCE WINDOW STRETCHES PAST MIDNIGHT…

THE PRODUCTION DATABASE BECOMES CORRUPTED DURING UPGRADE

THE WEBSITE IS DOWN

SALES DON’T HAPPEN

THE IN-STORE POINT-OF-SALE SYSTEMS ARE DOWN

THE LATEST CRITICAL APP UPGRADE

Page 16: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

THE MAINTENANCE WINDOW STRETCHES PAST MIDNIGHT…

THE PRODUCTION DATABASE BECOMES CORRUPTED DURING UPGRADE

THE WEBSITE IS DOWN

SALES DON’T HAPPEN

THE IN-STORE POINT-OF-SALE SYSTEMS ARE DOWN

QUARTERLY EARNINGS ARE MISSED!

THE LATEST CRITICAL APP UPGRADE

Page 17: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

WHAT CAN I.T. DO?

Page 18: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

AGILE SOFTWARE DEVELOPMENT

Page 19: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

AGILE SOFTWARE DEVELOPMENT

Page 20: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

THE DEVOPS MOVEMENT

Key concepts:•Small changes -> Less Risk•Fail fast and recover vs. Never fail•Culture change: Acceptance of failure

Page 21: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

I.T. CAN TURN OPS AND DEV INTO DEVOPS

“DevOps is a software development method that stresses communication, collaboration and integration between software developers and information technology (IT) professionals.”[1]

[1] http://en.wikipedia.org/wiki/DevOps

WHAT CAN I.T. DO?

� � � � � �

� � � � � � � � � � � � � � �

� � � � �

Page 22: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

WHAT ENABLES DEVOPS?

STANDARDIZED ENVIRONMENTS AUTOMATED PROVISIONING

“Configuration in Code”

Page 23: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

CONTINUOUS INTEGRATION CONTINUOUS DELIVERY

WHAT ENABLES DEVOPS?

CI/CD: Automated Testing and Deployment

Page 24: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

DEVELOPER SELF-SERVICE RAPID PROTOTYPING

WHAT ENABLES DEVOPS?

Continuous Innovation

Page 25: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

REDUCE CYCLE TIME FROM IDEA TO FEATURE� � � � � � �

� � � � � � � � �� � � � � � �

SELFPROVISIONING

ENVIRONMENTSTANDARDIZATION

AUTOSCALING

CENTERALIZEDOPS MANAGEMENT

DEV QA UAT PROD

IDE CONFIGURATIONMANAGEMENT

CONTINUOUSINTEGRATION MONITORING

� � � � � � � � � �

PRODUCTMANAGER

DEVELOPERS TESTENGINEERS

OPERATIONSPERSONNEL

� � � � � � � � � � � � � � � �

Page 26: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

DEVOPS ENABLERS FROM REDHAT

COMPUTE RESOURCES(CPU, RAM, NETWORK, DISK)

VIRTUAL GUEST IMAGES

OPERATING SYSTEM

APPLICATION CONTAINERS

APPLICATION

BUY

BUILD

Do it yourself (DIY)

Out of the box (OOTB)

MIDDLEWARE AND DEV TOOLS(Languages, Source Control, Build Tools, CI)

CONTAINER ORCHESTRATION

BUILDBUY

RHCI RHCI

RHEL ATOMIC

DOCKER

KUBERNETES

JBOSS, GIT, etc

Page 27: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

DEVOPS IMPLEMENTED MAKES LIFE BETTER

ACCELERATED APP DELIVERY FOR THE BUSINESS

STANDARDIZED AND CONTROLLED ENVIRONMENTS

FOR OPS

SELF-SERVICE ACCESS TO THE LATEST TOOLS FOR DEVS

Page 28: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

CONTAINERS

CLOUD

Public Private Virtualized Bare Metal

MICROSERVICES

DEVOPS

TOP OF MIND FOR CUSTOMERS…

Page 29: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

CONTAINERS

CLOUD

Public Private Virtualized Bare Metal

MICROSERVICES

DEVOPS

It’s the OpenShift Solution

Page 30: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

CONTAINERS

CLOUD

MICROSERVICES

DEVOPS

It’s the Red Hat Story

� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

Page 31: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration
Page 32: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration
Page 33: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

“Continuous Delivery is a software development discipline where you build software in such a way that the software can be released to production at any time”

Martin Fowler

What is Continuous Delivery ?

Page 34: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

� � � � � � � � � � � � � � � � � �

D E F IN IT IO N : � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �• � ! � � � � � � � ! � � � � � � � � � � � " � � � � � � � � � � � � � � � � � � � � � � � � � � � � � # $ � � � � �

B E N E F IT S : • % � � � � � � � � � � � � � � � � � � � � � � � � � � & � � " � � � � � � � � � � � � � �• $ � � � � � � � � � � � � � � � � � � � " � � � � � � � � � � � � � � � � � � � � � � � � � ! � � � � � � � � � � � � � � � � � � � � � � �

T O O L S :• ' � � � � � � � � � � � � � # $ � � � � �

34

Page 35: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

� � � � � � � � � � � � � � � � �

DEFINITION: ( � � � ) � � � � � � � � � � � � � * � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

BENEFITS: • + � � � � � � � � � � � � � � � � � � � � � , � � � � � � � � � � � � � � � � � � � � � � � � & � � � � � � � � � � � � � � � � � � � � �

� � � � � � � � � � � � � � � � � � � �• - � � � � � * � � � � � � � � � � � � � � � � � � � � � � � � � � � � , . � � � � � � � � � & � � � � � � � � � � � � � " � � � � � � � � �

� � � � � � � � � � �

TOOLS:• / � � � ) � � � � � � � � ! � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ! � � � � � � � � � � � � � � � � � � � �

� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �• ' � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 0 � � � � � � # $ 1 # 2 � � � � �

35

Page 36: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

� � � � � � � � � � � � � � � � � � � � � � � �

36

DEVELOPERCOMMITS, TRIGGERING AUTOMATED BUILD

COMMIT STAGE

3 # # � + 4 3 % # � / 4 3 5 �

UAT STAGE

+ - 2 . # 4 $ - % / 4 3 5 �

+ - 2 . # 4 $ - % / 4 3 5 �

ENVIRONMENTCONFIGURATION

DEPLOYMENT

ROLLBACK CAPABILITY

ENVIRONMENTCONFIGURATION

DEPLOYMENT

MANUAL USERTESTING

USABILITY TESTING

ENVIRONMENTCONFIGURATION

DEPLOYMENT

LOAD TESTING

STRESS TESTING

SOAK TESTING

SPIKE TESTING

ENVIRONMENTCONFIGURATION

DEPLOYMENT

AUTOMATED (FUNCTIONAL) ACCEPTANCE TESTS

INTEGRATION TESTS

COMPILATION

UNITTESTS

CODEQUALITYTESTS

AUTOMATIC

QA AUTHORIZESPUSH-BUTTON DEPLOY

QA AUTHORIZESPUSH-BUTTON DEPLOY

OPERATIONS AUTHORIZESPUSH-BUTTON DEPLOY

Page 37: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

� � � � � � � � � � � � � � � � �

37

ACCEPTANCE STAGE

COMMITSTAGE

UATSTAGE

+ - 2 . # 4 $ - %/ 4 3 5 �

DEVELOPERS DEVELOPERS TESTERS OPERATIONS

TEST PaaS PROD PaaSDEV PaaSAutomated Test

Team Approves

Operations Team

Approves

ENTERPRISE SCM

ENTERPRISE ARTIFACT REPOSITORY

ENTERPRISE CI/CD SERVER

Page 38: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

� � � � � � � � � � � � � � � � � � � � � � � � � �

38

Source: Humble and Farley, Continuous Delivery, 2011

• - � � � � � � � � � � � � � � � � � � � � � �

• 2 � � � � � � � � � � � & � � � � � � � � � � � � � � � � � � � �

• / � � " � � � � � � � � � � � � �

• 2 � � � � � � � � � � � � � � � � � � � � � � � � �

• � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

• $ � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

Page 39: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

39

• - � � � � � � � � � � � � � � � � � � � � � �

• 2 � � � � � � � � � � � & � � � � � � � � � � � � � � � � � � � �

• / � � " � � � � � � � � � � � � �

• 2 � � � � � � � � � � � � � � � � � � � � � � � � �

• � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

• $ � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

� � � � � � � � � � � � � � � �

. � + � � / 3 + $ � � � � � � � � � � � � � � * � � � � � � � � � � � � � � � & � � � � � � � � � � � � � � � � � � � � � � � � � & � � � � � � � � � � � � � � � � � � � �

. � + � � / � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � * � � � � � � � � � � � � � � � � � � & � � � � � � � � � � � � � � � � � � � � � � � � � & � � � � � � � � � � � � � � � � � � � �

. � � � � � ) � � � � � � � � � � ) � � � � � � � � + � � / � � � � � � � � � � � � � � � � � � � � � � � � ! � � � � � � �

Page 40: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

OpenShift DEMO

Page 41: DevOps & OpenShift - Red Hatpeople.redhat.com/.../fev2015/OpenShift-n-DevOps.pdf · …so the DevOps focus can be on application delivery Continuous integration/delivery •Integration

HOW OPENSHIFT ACCELERATES DEVOPS

Solves platform automation…•Standardized operating environments•Environment configuration as code•Self-provisioning…so the DevOps focus can be on application delivery

Continuous integration/delivery•Integration with major DevOps tools•Just-in-time delivery (and teardown) of single-purpose platforms for resource efficiency

Ready-to-go framework for application configuration as code•Action hooks•Cartridges•Environment variables

Auto-scaling