Download - Red Hat Container Development Kit
![Page 1: Red Hat Container Development Kit](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/1.jpg)
![Page 2: Red Hat Container Development Kit](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/2.jpg)
Red Hat Container Development Kit
For Command Line Developers
![Page 3: Red Hat Container Development Kit](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/3.jpg)
About us● CDK developers.
○ Lalatendu Mohanty : @lalatenduM○ Navid Shaikh : @SwordPhilic ○ Praveen Kumar : @kumar_pravin
![Page 4: Red Hat Container Development Kit](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/4.jpg)
Contents● Problem statement● Introducing CDK● Use cases● Features● Demo
○ OpenShift○ Kubernetes
● Future Roadmap● Upstream
![Page 5: Red Hat Container Development Kit](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/5.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/6.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/7.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/8.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/9.jpg)
Technology pieces used in CDK
● Vagrant
● Vagrant plugins
● Vagrant boxes for Virtualbox, Hyper-V and KVM/Libvirt
![Page 10: Red Hat Container Development Kit](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/10.jpg)
Use Cases
![Page 11: Red Hat Container Development Kit](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/11.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/12.jpg)
● Kubernetes master and node configured as single node setup.● Single “vagrant up” command to create the setup.
![Page 13: Red Hat Container Development Kit](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/13.jpg)
● Native docker experience for non-Linux platforms.● Works with Eclipse IDE docker tooling.
![Page 14: Red Hat Container Development Kit](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/14.jpg)
Let's talk about CDK features
![Page 15: Red Hat Container Development Kit](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/15.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/16.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/17.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/18.jpg)
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 21: Red Hat Container Development Kit](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/21.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/22.jpg)
developers.redhat.com
![Page 23: Red Hat Container Development Kit](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/23.jpg)
developers.redhat.com/products/cdk/overview/
![Page 24: Red Hat Container Development Kit](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/24.jpg)
Upstream
![Page 25: Red Hat Container Development Kit](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/25.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/26.jpg)
Ecosystem Projects● vagrant-service-manager● vagrant-sshfs● adb-vagrant-registration● adb-utils● Landrush● OpenShift2Nulecule
![Page 27: Red Hat Container Development Kit](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/27.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/28.jpg)
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](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/29.jpg)
Questions?
![Page 30: Red Hat Container Development Kit](https://reader034.vdocuments.site/reader034/viewer/2022042610/58a468bc1a28abb8288b6817/html5/thumbnails/30.jpg)
References ● https://github.com/projectatomic/adb-atomic-developer-bundle● https://www.youtube.com/watch?v=FQHbyZ4Y64Y