rhte 2016 - using the red hat container development kit (cdk)

26
USING THE RED HAT CONTAINER DEVELOPMENT KIT Simplify developing and running enterprise grade containers Andrew Block Principal Consultant

Upload: eric-d-schabell

Post on 22-Jan-2018

874 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

USING THE RED HAT CONTAINER DEVELOPMENT KITSimplify developing and running enterprise grade containers

Andrew BlockPrincipal Consultant

Page 2: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED

3 Takeaways From This Session

2

These are the things I want you to remember from my presentation

● Describe the Red Hat Container Development Kit● Understand how the Red Hat Container Development Kit can be

used to build and deploy applications● Reference examples and demos to begin using the Red Hat

Container Development Kit

RED HAT CONTAINER DEVELOPMENT KIT

Page 3: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED

Agenda

3

● Containers - the problem & solution● Introducing the Red Hat Container Development Kit (CDK)● CDK components and features● Getting started with the CDK● Demo

RED HAT CONTAINER DEVELOPMENT KIT

Page 4: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED4

The Problem

Applications require complicated collaboration during installation and integration every time they are deployed.

Image: Manually Loading Ships 1921

RED HAT CONTAINER DEVELOPMENT KIT

Page 5: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED5

The solutionContainerize

Adopting a container strategy will allow applications to be easily

shared and deployed.

RED HAT CONTAINER DEVELOPMENT KIT

Page 6: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED

Developing Containers Can be Difficult

6

Developing containerized applications presents a number of challenges when running in a local development environment

● Building and packaging applications● Running applications locally● Simulating production environments● Interaction with other services

RED HAT CONTAINER DEVELOPMENT KIT

Page 7: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

Red Hat Container Development Kit

Page 8: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED

CDK Runs in a Virtual Machine

8

The Red Hat Container Development Kit executes as a virtual machine provisioned using Vagrant

RED HAT CONTAINER DEVELOPMENT KIT

Page 9: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED

CDK Primary Components

9

Docker

○ Popular containerization technology○ Built on core Linux concepts

■ cgroups and namespace isolation○ Easily build, deploy and share images

Kubernetes

○ Container orchestration framework○ Manage the container lifecycle○ Scale up/down○ Service discovery

OpenShift

○ Built on top of docker and kubernetes○ Development and deployment platform○ Self service capabilities○ Built in CI/CD functionality

RED HAT CONTAINER DEVELOPMENT KIT

Page 10: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED

CDK Multi Platform Support

10

Runtime Support on the Most Popular Platforms

RED HAT CONTAINER DEVELOPMENT KIT

Page 11: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED

CDK Hypervisor Support

11

Multiple virtualization providers available

RED HAT CONTAINER DEVELOPMENT KIT

Page 12: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED

Eclipse/JBoss Developer Studio Integration

12

Integration with popular Integrated Development Environment allows developers to use familiar tools to design, develop and interact with containers and OpenShift

● Manage CDK lifecycle● Manage OpenShift projects● Create new applications● Incrementally update applications● Deploy projects from the workspace● Remotely debug applications

RED HAT CONTAINER DEVELOPMENT KIT

Page 13: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED

Eclipse/JBoss Developer Studio Integration

13

<INSERT SCREENSHOT>

RED HAT CONTAINER DEVELOPMENT KIT

Page 14: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED

CDK Component Stack

14

RED HAT CONTAINER DEVELOPMENT KIT

Page 15: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED

Ease of Use

15

The Red Hat Container Development Kit makes it easy to become familiar with the tools to develop and run enterprise containerized applications

Simplified Setup Effective Examples Build and DeploymentTools

RED HAT CONTAINER DEVELOPMENT KIT

Page 16: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED

Multiple Roles Can Benefit From the CDK

16

Developers

Operations

Managers

● Explore platform configurations● Develop integrations with the platform● Build management and monitoring solutions

● Build new solutions (applications, images, integrations)● Debug applications● Utilize existing tools and workflows

● First hand platform experience● Develop patterns for consumption by developers,

operations and customers

RED HAT CONTAINER DEVELOPMENT KIT

Page 17: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

Getting Started With the Red Hat CDK

Page 18: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED

CDK Distribution

18

Container Development kit is distributed as a Vagrant box and supporting tooling

Vagrant Box Support Tooling

RED HAT CONTAINER DEVELOPMENT KIT

Page 19: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED

CDK Features a Simplified Lifecycle

19

Delivery using Vagrant allows users to manage the CDK lifecycle with a few simple commands

● Creates a guest machine

● Log in to a running system

● Stop the running system

● Reset the system to its initial state

vagrant up

vagrant ssh

vagrant halt

vagrant destroy

RED HAT CONTAINER DEVELOPMENT KIT

Page 20: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED

Red Hat Developer Suite

20

Bundled solution with a single installer containing the necessary software for building and running containers using the Red Hat Container Development Kit

Vagrant

VirtualBox

Cygwin

OpenJDK

Red Hat JBoss Dev Studio

Red Hat Developer Suite

RED HAT CONTAINER DEVELOPMENT KIT

Page 21: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED

Included Features

21

The Red Hat Container Development contains example solutions to enable you to become a CDK hero in no time

Preconfigured persistent storage Sample applicationsBase images

RED HAT CONTAINER DEVELOPMENT KIT

Page 22: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED

Red Hat Demo Central

22

GitHub organization containing samples and examples targeting OpenShift and the Container Development Kit

https://github.com/redhatdemocentral/

Automate the installation and configuration of the CDK

Middleware demos and examples running in the cloud

RED HAT CONTAINER DEVELOPMENT KIT

Page 23: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

Red Hat Container Development Kit Demo

Page 24: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED

Get Started Today!

24

Download Start

https://github.com/redhatdemocentral/cdk-install-demo

http://developers.redhat.com/products/cdk/overview/

Innovate

RED HAT CONTAINER DEVELOPMENT KIT

Page 25: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

INSERT DESIGNATOR, IF NEEDED

3 Takeaways From This Session

25

These are the things I want you to remember from my presentation

● Describe the Red Hat Container Development Kit● Understand how the Red Hat Container Development Kit can be

used to build and deploy applications● Reference examples and demos to begin using the Red Hat

Container Development Kit

RED HAT CONTAINER DEVELOPMENT KIT

Page 26: RHTE 2016 - Using the Red Hat Container Development Kit (CDK)

THANK YOU

RATE THIS SESSIONRED.HT/RATE-RHTE