22
DEVOPS AUTOMATION USING DOCKER, KUBERNETES AND OPENSHIFT Mark Sutton Senior Solution Architect, Red Hat 6th December 2016

OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

  • Upload
    others

  • View
    9

  • Download
    0

Embed Size (px)

Citation preview

Page 1: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

DEVOPS AUTOMATION USING DOCKER, KUBERNETES AND OPENSHIFT

Mark SuttonSenior Solution Architect, Red Hat6th December 2016

Page 2: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

GENERAL DISTRIBUTION

The INTEGRATION Problem

Applications require complicated installation and integration every time they are deployed

Kernel

Operating System

Libraries and Runtime

System Configuration

ApplicationDevelopment

Operations

Page 3: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

GENERAL DISTRIBUTION

The MOTIVATION Problem

I.T. OPERATIONS

StabilitySecurity

Cost

DEVELOPERS

New FrameworksNew Architectures

New Tools

Page 4: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

GENERAL DISTRIBUTION

The INTEGRATION Solution

Application

Libraries and RuntimeConfiguration

Container

Page 5: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

GENERAL DISTRIBUTION

The MOTIVATION Solution

Adopting a container strategy can reduce the friction between developers and IT operations.

Kernel

Application A

Operating System

Libraries and RuntimeConfiguration

Libraries and Runtime

System Configuration

Application B

Libraries and RuntimeConfiguration

Developer

Operations

Page 6: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

GENERAL DISTRIBUTION6

WHAT ARE CONTAINERS?It depends who you ask...

● Sandboxed application processes on a shared Linux OS kernel

● Simpler, lighter, and denser than virtual machines

● Portable across different environments

● Package my application and all of its dependencies

● Deploy to any environment in seconds and enable CI/CD

● Easily access and share containerized components

INFRASTRUCTURE APPLICATIONS

Page 7: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

GENERAL DISTRIBUTION

physical

virtual

private cloud

public cloud

$ docker build -t app:v1 . $ dock

er run

app:v

1

OperationsDeveloper

PROBLEM SOLVED?

Page 8: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

GENERAL DISTRIBUTION

not quite..!

Page 9: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

GENERAL DISTRIBUTION

SchedulingDecide where to deploy containers

9

WE NEED MORE THAN JUST CONTAINERS

Lifecycle and healthKeep containers running despite failures

DiscoveryFind other containers on the network

MonitoringVisibility into running containers

SecurityControl who can do what

ScalingScale containers up and down

PersistenceSurvive data beyond container lifecycle

AggregationCompose apps from multiple containers

Page 10: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

GENERAL DISTRIBUTION

DEVOPS WITH CONTAINERS AND KUBERNETES

Scheduling

Lifecycle

Health DiscoveryMonitoring

Security

Scaling

Persistence

Aggregation

Page 11: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

GENERAL DISTRIBUTION

NETWORK

Not enough! Need networking

Page 12: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

GENERAL DISTRIBUTION

IMAGEREGISTRY

NETWORK

Not enough! Need an image registry

Page 13: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

GENERAL DISTRIBUTION

IMAGEREGISTRY

METRICS AND LOGGING

NETWORK

heapster

Not enough! Need metrics and logging

Page 14: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

GENERAL DISTRIBUTION

IMAGEREGISTRY

Not enough! Need application lifecycle management

APP LIFECYCLE MGMT

METRICS AND LOGGING

NETWORK

Page 15: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

GENERAL DISTRIBUTION

IMAGEREGISTRY

Not enough! Need application services e.g. database and messaging

APP SERVICES

APP LIFECYCLE MGMT

METRICS AND LOGGING

NETWORK

Page 16: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

GENERAL DISTRIBUTION

IMAGEREGISTRY

Not enough! Need self-service portal

SELF-SERVICE

APP SERVICES

APP LIFECYCLE MGMT

METRICS AND LOGGING

NETWORK

Page 17: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

GENERAL DISTRIBUTION

NOT ENOUGH, THERE IS MORE!

Routing & Load Balancing

Multi-tenancy

CI/CD Pipelines

Role-based Authorization

Capacity Management

Chargeback

Vulnerability Scanning

Container Isolation

Image Build Automation

Quota Management

Teams and Collaboration

Infrastructure Visibility

Page 18: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

GENERAL DISTRIBUTION

Container platform based on Docker and Kubernetes for building, distributing and running container-based applications at scale

Page 19: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

GENERAL DISTRIBUTION

ENTERPRISE-GRADE CONTAINER OSRed Hat Enterprise Linux & Atomic Host

IaaS

Page 20: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

GENERAL DISTRIBUTION

ENTERPRISE-GRADE CONTAINER OS

CONTAINER INFRASTRUCTURE SERVICES(Orchestration & Scheduling, Storage, Registry, Security, Networking)

LIFECYCLE AUTOMATION(Self-service, CI/CD, Image Stream)

CONTAINER MANAGEMENT(Monitoring, Capacity, Policies)

Red Hat Enterprise Linux & Atomic Host

CaaS

IaaS

Red Hat OpenShift Container Platform

Page 21: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

GENERAL DISTRIBUTION

Red Hat OpenShift Container Platform

ENTERPRISE-GRADE CONTAINER OS

Business Automation

CONTAINER CONTAINERCONTAINER CONTAINER CONTAINER

Integration Data Web & Mobile

3rd party frameworks

CONTAINER INFRASTRUCTURE SERVICES(Orchestration & Scheduling, Storage, Registry, Security, Networking)

LIFECYCLE AUTOMATION(Self-service, CI/CD, Image Stream)

CONTAINER MANAGEMENT(Monitoring, Capacity, Policies)

Red Hat Enterprise Linux & Atomic Host

Traditional, Stateful & Microservices-based Apps

PaaS

CaaS

IaaS

Page 22: OPENSHIFT DOCKER, KUBERNETES AND DEVOPS AUTOMATION USING193.62.125.70/CIUK-2016/RedHat.pdf · Integration Data Web & Mobile 3rd party frameworks CONTAINER INFRASTRUCTURE SERVICES

THANK YOU

plus.google.com/+RedHat

linkedin.com/company/red-hat

youtube.com/user/RedHatVideos

facebook.com/redhatinc

twitter.com/RedHatNews