red hat container development kit

30

Upload: lalatendu-mohanty

Post on 15-Feb-2017

172 views

Category:

Technology


5 download

TRANSCRIPT

Page 1: Red Hat Container Development Kit
Page 2: Red Hat Container Development Kit

Red Hat Container Development Kit

For Command Line Developers

Page 3: Red Hat Container Development Kit

About us● CDK developers.

○ Lalatendu Mohanty : @lalatenduM○ Navid Shaikh : @SwordPhilic ○ Praveen Kumar : @kumar_pravin

Page 4: Red Hat Container Development Kit

Contents● Problem statement● Introducing CDK● Use cases● Features● Demo

○ OpenShift○ Kubernetes

● Future Roadmap● Upstream

Page 5: Red Hat Container Development Kit

We are here!● Linux containers are awesome● Use Red Hat Enterprise Linux to run containers● DevOps , Microservices● OpenShift, Kubernetes

Page 6: Red Hat Container Development Kit

Objectives

● Build, run multi-container applications

● Should be same as production environment

● Make enterprise application developer’s life easier

● Should work with Microsoft Windows , OS X, Red Hat Enterprise Linux

Page 7: Red Hat Container Development Kit

Introduction● Prepackaged development environment loaded with production-grade

pre-configured tools.

● Quickly setup development environment for Docker, OpenShift and

Kubernetes.

● Shipped for Microsoft Windows , OS X and Red Hat Enterprise Linux.

● Installer (i.e. development suite) for Windows platform.

Page 8: Red Hat Container Development Kit

Usage Patterns Of CDK● Integrated development environments (IDE)

● Host command line

● “vagrant ssh” and using CDK guest box terminal

Page 9: Red Hat Container Development Kit

Technology pieces used in CDK

● Vagrant

● Vagrant plugins

● Vagrant boxes for Virtualbox, Hyper-V and KVM/Libvirt

Page 10: Red Hat Container Development Kit

Use Cases

Page 11: Red Hat Container Development Kit

OpenShift● Easy and simple way to set up OpenShift Enterprise on developer

workstation.● Same user experience on Windows, Red Hat Enterprise Linux and OS X.● Deploy microservices on workstation.

Page 12: Red Hat Container Development Kit

● Kubernetes master and node configured as single node setup.● Single “vagrant up” command to create the setup.

Page 13: Red Hat Container Development Kit

● Native docker experience for non-Linux platforms.● Works with Eclipse IDE docker tooling.

Page 14: Red Hat Container Development Kit

Let's talk about CDK features

Page 15: Red Hat Container Development Kit

vagrant-service-manager● Acts as a glue between CDK and user’s development environment.● Configures host-based command line for the provided services.● Enables users to configure and use services from CDK.

Page 16: Red Hat Container Development Kit

Vagrant-service-manager command examples$ vagrant service-manager status

$ vagrant service-manager env

$ vagrant service-manager box version

$ vagrant service-manager box ip

$ vagrant service-manager start/stop/restart <service>

Page 17: Red Hat Container Development Kit

Sync-folder with vagrant-sshfs● vagrant-sshfs is the recommended solution for Vagrant’s sync-folder

feature. ● It helps save a developer’s work post “vagrant destroy”.

○ Vagrant guests are ephemeral in nature.

● User’s home directory is mounted inside the guest using SSHFS.○ This enables continuous bi-directional folder sync.

Note: This feature is work-in-progress with respect to the IDE use case.

Page 18: Red Hat Container Development Kit

Nulecule and AtomicAppUsers can develop Nulecule based applications using CDK.

● Nulecule: ○ Specification for packaging a multi-container application.

● AtomicApp: ○ Runtime that understands Nulecule.

○ Works with providers (e.g. Kubernetes, Mesos, OpenShift and Docker) to deploy applications according to Nulecule specification.

● OpenShift2Nulecule:○ Generates Nulecule artifacts from an existing OpenShift application.

Page 19: Red Hat Container Development Kit

OpenShift Demo On CDK

Page 20: Red Hat Container Development Kit

Kubernetes Demo On CDK

Page 21: Red Hat Container Development Kit

Future Roadmap● Landrush integration for easy access to applications deployed in

OpenShift.● vagrant-service-manager improvements for better user experience

○ CLI to install client tools○ CLI to fetch correct Vagrantfiles

● Installers for OS X and Linux

Page 22: Red Hat Container Development Kit

developers.redhat.com

Page 23: Red Hat Container Development Kit

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

Page 24: Red Hat Container Development Kit

Upstream

Page 25: Red Hat Container Development Kit

Atomic Developer Bundle (ADB)● Upstream project for Red Hat CDK.● Part of CentOS Atomic SIG.● Vagrant box is based on CentOS 7.● Uses OpenShift Origin

Page 26: Red Hat Container Development Kit

Ecosystem Projects● vagrant-service-manager● vagrant-sshfs● adb-vagrant-registration● adb-utils● Landrush● OpenShift2Nulecule

Page 27: Red Hat Container Development Kit

How to participate?● Suggestions , patches, bugs are welcome ! ● Mailing List: [email protected]● IRC Channel: #atomic and #nulecule on Freenode

Page 28: Red Hat Container Development Kit

LEARN MORE IN INTERACTIVE DISCOVERY SESSIONS

MIGRATING WORKLOADS TO CONTAINERSFor an in-depth and interactive whiteboarding session to discuss the essentials

to building a successful strategy around migrating workloads to containers.

ERIC SAUER, ARCHITECT, PAAS AND DEVOPS, RED HAT

WEDNESDAY, JUN 29 10:15 AM - 11:15 AM (WEST LOBBY, LEVEL 2)

To learn more, visit red.ht/discoverysession

Page 29: Red Hat Container Development Kit

Questions?