cdk 2.0: docker, kubernetes, and ose on your desk (langdon white)

22
CDK 2.0: DOCKER, KUBERNETES, AND OSE ON YOUR DESK! Langdon White Platform Architect June 27, 2016 #redhat #rhsummit 1

Upload: red-hat-developers

Post on 17-Feb-2017

190 views

Category:

Software


0 download

TRANSCRIPT

CDK 2.0: DOCKER, KUBERNETES, AND OSE ON YOUR DESK!Langdon WhitePlatform ArchitectJune 27, 2016

#redhat #rhsummit

1

WHO AM I?

#redhat #rhsummit

L A N G D O N W H I T EFORMERLY EVANGELIST FOR RHEL

PLATFORM ARCHITECT FORDEVELOPER EXPERIENCE

WORKING ON FEDORA MODULARITY

T H O M A SPLAYS A LOT OF SOCCER & BASKETBALL

LOTS OF HOMEWORK

USES INSTAGRAM TO TALK TO FRIENDS

2

WHAT'S UP?W H AT ' S T H E D E A L W I T HC O N TA I N E R S ?

W H AT ' S T H E C D K ?

C A N YO U S H O W I T TO M E ?

H O W A B O U T A N E X A M P L E ?

#redhat #rhsummit

A L S O :DON'T FORGET THE SURVEYS!

RELATED TALKS & FURTHER READING AT THE END

THANKS SO MUCH TO MY IMAGE PROVIDERS

3

SOFTWARE HAS CHANGED

#redhat #rhsummit

4

DECOMPOSITION

#redhat #rhsummit

5

#redhat #rhsummit

It worked on my machine

INT, STG, QA, and prod MIGHT BEslightly different

Patching Prod may break myapplication

Admins must guess what patchesapply to my application

My application has a differentlifecycle than the OS

Tracking libraries is risky

Modern applications have TONS ofNIH code

WHAT I BUILD, RUNS

6

CONTENT MATTERS

#redhat #rhsummit

7

NOT ALL RAINBOWS...APPROACH

Re-architecting for services is expensive

Not all applications are appropriate (yet)

DevOps isn't just tools

Silos like holding grain

HELP

Container Development Kit (CDK)

Topic on developers.redhat.com

Category on developerblog.redhat.com

#redhat #rhsummit

8

THE CONTAINER DEVELOPMENT KIT

#redhat #rhsummit

9

WHAT IS THE CDK?I T H E L P S YO U B U I L D C O N TA I N E R S

FROM THE WEBSITE

Red Hat Container Development Kit is a pre-builtcontainer development environment based onRed Hat Enterprise Linux to help you get starteddeveloping container-based applications quickly. Thecontainers you build can be easily deployed on anyRed Hat container host or platform, including:Red Hat Enterprise Linux, Red Hat Enterprise LinuxAtomic Host, and our platform-as-a-service solution,OpenShift Enterprise 3.

10

WHAT IS THE CDK?I T H E L P S YO U B U I L D C O N TA I N E R S

FOR REALS*

All the hard bits are setup already

Vagrant VM (hyper-v, vbox, kvm)DockerKubernetesOpenShift

You can use what you needThe technologies are setup mimickinga light production deployment HowTos, examples, and sample projectsavailableEclipse Integration

* /me dates myself

11

A BIT ABOUT THE BITS

DOCKER

A containerizing technology

Most popularGeared to server applicationsa number of others (e.g. flatpak, lxc,rkt)

Runs as a daemon on Linux

Implementations on Mac & Windows(usually) use a "hidden" Linux VM

Very easy to use

Dockerfile like a bash scriptBuilding, tagging, and sharing

KUBERNETES

Orchestration for containers

Allows for indirection between servicesSupports horizontal scaling of services

Supports clustering of servers to provideservice scalabilityDeclarative syntax allowing for moreflexibiluty

Combines Docker, Kubernetes and othertechnologies to provide a completecontainer platformProvides a simple developer interface to thetechnologiesManages source to deployment lifecycleautomaticallyProvides automatic application scalingUnifies the management of the technologies

12

MAX'S ARCHITECTURE

13

DEMO

#redhat #rhsummit

14

DENOUEMENT

#redhat #rhsummit

15

WHAT NOW?Go see another talk: Container development for command line developers Tues, 10:15 AM - 11:15 AM. 132

Come to my lab: Containerizing applications: Existing and new Weds, 3:30 PM - 5:30 PM, 3020 - Lab IV

Try the lab at home: https://github.com/dustymabe/summit-2016-container-lab

Check out the CDK for yourself: http://developers.redhat.com/products/cdk/overview/

16

ATTRIBUTIONS“Simple pendulum height”, Krishnavedala (Own work) [CC0], via WikimediaCommons,https://commons.wikimedia.org/wiki/File:Simple_pendulum_height.svgSeán A. O'Hara. "Some of our potted succulent collection." [Online image] 3February 2010. <https://flic.kr/photos/hortulus_aptus/5331014669>.Betty Nudler. "les pots en couleurs." [Online image] 9 December 2013.<https://flic.kr/photos/bet27/11388560346>Cumpled Paper by Aaron Jacobshttps://flickr.com/photos/aaronjacobs/66393869 shared under a CreativeCommons (BY-SA) license"oh blerg" by akachela https://flickr.com/photos/akachela/3763871264 sharedunder a Creative Commons (BY) license"garden boots" by "Rosy ~ Posy" fromhttp://rosinahuber.blogspot.com/2010/06/welcome-to-our-garden.html "pot in a truck", https://pixabay.com/en/toys-toy-truck-trailer-plant-pot-423330/, public domain

#redhat #rhsummit

17

LEARN. NETWORK.EXPERIENCE OPEN SOURCE.

#redhat #rhsummit

18

MAJOR HEADLINES U BT I T L ESMALLER TITLE

normal text

19

TITLE

C O N T E N THEAVY BULLETS

normal bullets

normal text

#redhat #rhsummit

20

MAJOR HEADLINES U BT I T L ESMALLER TITLE

normal text

21

MAJOR HEADLINES U BT I T L ESMALLER TITLE

normal text

#redhat #rhsummit

22