red hat container development kit

Post on 15-Feb-2017

172 Views

Category:

Technology

5 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Red Hat Container Development Kit

For Command Line Developers

About us● CDK developers.

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

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

○ OpenShift○ Kubernetes

● Future Roadmap● Upstream

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

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

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.

Usage Patterns Of CDK● Integrated development environments (IDE)

● Host command line

● “vagrant ssh” and using CDK guest box terminal

Technology pieces used in CDK

● Vagrant

● Vagrant plugins

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

Use Cases

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.

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

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

Let's talk about CDK features

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.

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>

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.

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.

OpenShift Demo On CDK

Kubernetes Demo On CDK

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

developers.redhat.com

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

Upstream

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

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

How to participate?● Suggestions , patches, bugs are welcome ! ● Mailing List: container-tools@redhat.com● IRC Channel: #atomic and #nulecule on Freenode

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

Questions?

top related