Docker All The Things

Similar documents
ovirt and Docker Integration

Operating and managing an Atomic container-based infrastructure

CONTAINERS AND MICROSERVICES WITH CONTRAIL

OpenStack Magnum Hands-on. By Saulius Alisauskas and Bryan Havenstein

Upcoming Services in OpenStack Rohit Agarwalla, Technical DEVNET-1102

OpenShift 3 Technical Architecture. Clayton Coleman, Dan McPherson Lead Engineers

WHITE PAPER. RedHat OpenShift Container Platform. Benefits: Abstract. 1.1 Introduction

Microservices. Chaos Kontrolle mit Kubernetes. Robert Kubis - Developer Advocate,

Kubernetes 101. Doug Davis, STSM September, 2017

Red Hat Atomic Details Dockah, Dockah, Dockah! Containerization as a shift of paradigm for the GNU/Linux OS

The speed of containers, the security of VMs. KataContainers.io

How to build scalable, reliable and stable Kubernetes cluster atop OpenStack.

UP! TO DOCKER PAAS. Ming

Kuber-what?! Learn about Kubernetes

Container Orchestration on Amazon Web Services. Arun

Launching StarlingX. The Journey to Drive Compute to the Edge Pilot Project Supported by the OpenStack

Taming your heterogeneous cloud with Red Hat OpenShift Container Platform.

Red Hat OpenShift Roadmap Q4 CY16 and H1 CY17 Releases. Lutz Lange Solution

agenda PAE Docker Docker PAE

Containers OpenStack. Murano brings Docker & Kubernetes to OpenStack. Serg Melikyan. software.mirantis.com. January 27, 2015

The speed of containers, the security of VMs

A REFERENCE ARCHITECTURE FOR DEPLOYING WSO2 MIDDLEWARE ON KUBERNETES

Triangle Kubernetes Meet Up #3 (June 9, 2016) From Beginner to Expert

Kubernetes made easy with Docker EE. Patrick van der Bleek Sr. Solutions Engineer NEMEA

OpenStack in 10 minutes with DevStack

DevOps Workflow. From 0 to kube in 60 min. Christian Kniep, v Technical Account Manager, Docker Inc.

Running MarkLogic in Containers (Both Docker and Kubernetes)

@briandorsey #kubernetes #GOTOber

Bringing Security and Multitenancy. Lei (Harry) Zhang

Red Hat Containers Roadmap. Red Hat A panel of product directors

CS-580K/480K Advanced Topics in Cloud Computing. OpenStack

ACCELERATE APPLICATION DELIVERY WITH OPENSHIFT. Siamak Sadeghianfar Sr Technical Marketing Manager, April 2016

Code: Slides:

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Deployment Patterns using Docker and Chef

Kubernetes: Twelve KeyFeatures

Contrail Networking: Evolve your cloud with Containers

Continuous delivery while migrating to Kubernetes

How to Setup a Development Environment for ONAP

Infoblox Kubernetes1.0.0 IPAM Plugin

Full Scalable Media Cloud Solution with Kubernetes Orchestration. Zhenyu Wang, Xin(Owen)Zhang

Building a Kubernetes on Bare-Metal Cluster to Serve Wikipedia. Alexandros Kosiaris Giuseppe Lavagetto

Beyond 1001 Dedicated Data Service Instances

So, I have all these containers! Now what?

How Container Runtimes matter in Kubernetes?

Secure Kubernetes Container Workloads

OPENSTACK Building Block for Cloud. Ng Hwee Ming Principal Technologist (Telco) APAC Office of Technology

Installation and setup guide of 1.1 demonstrator

Accelerate OpenStack* Together. * OpenStack is a registered trademark of the OpenStack Foundation

Managing and Protecting Persistent Volumes for Kubernetes. Xing Yang, Huawei and Jay Bryant, Lenovo

The Long Road from Capistrano to Kubernetes

Table of Contents DevOps Administrators

Kubernetes on Openstack

"Charting the Course... H8Q14S HPE Helion OpenStack. Course Summary

Advanced Continuous Delivery Strategies for Containerized Applications Using DC/OS

Kubernetes introduction. Container orchestration

KUBERNETES IN A GROWN ENVIRONMENT AND INTEGRATION INTO CONTINUOUS DELIVERY

Scaling Jenkins with Docker and Kubernetes Carlos

Introduction to Kubernetes

Introduction to OpenStack Trove

Accelerate at DevOps Speed With Openshift v3. Alessandro Vozza & Samuel Terburg Red Hat

Think Small to Scale Big

Buenos Aires 31 de Octubre de 2018

개발자와운영자를위한 DevOps 플랫폼 OpenShift Container Platform. Hyunsoo Senior Solution Architect 07.Feb.2017

Getting Started With Containers

RED HAT ENTERPRISE LINUX ATOMIC HOST, CONTAINERS AND KUBERNETES

OPENSHIFT FOR OPERATIONS. Jamie Cloud Guy - US Public Sector at Red Hat

Building an on premise Kubernetes cluster DANNY TURNER

Kuryr & Fuxi. OpenStack networking and storage for Docker Swarm containers. Hongbin Lu Antoni Segura Puimedon

DEVOPS COURSE CONTENT

Project Kuryr. Here comes advanced services for containers networking. Antoni Segura

Hacking and Hardening Kubernetes

[Docker] Containerization

OpenStack. Architecture and Operation. OpenStack Tutorial Day 2. Kasidit Chanchio Vasabilab, Thammasat University

TEN LAYERS OF CONTAINER SECURITY

Przyspiesz tworzenie aplikacji przy pomocy Openshift Container Platform. Jarosław Stakuń Senior Solution Architect/Red Hat CEE

OpenStack Mitaka Release Overview

Rolling upgrade Performance between OpenStack Deployed in VMs and Containers

Contrail Cloud Platform Architecture

An Introduction to Kubernetes

DevOps Course Content

Cloud I - Introduction

1. What is Cloud Computing (CC)? What are the Pros and Cons of CC? Technologies of CC 27

How to build and run OCI containers

NET1821BU THE FUTURE OF NETWORKING AND SECURITY WITH NSX-T Bruce Davie CTO, APJ 2

LAB EXERCISE: RedHat OpenShift with Contrail 5.0

Dockerized Tizen Platform

Red Hat JBoss Middleware for OpenShift 3

, )!"#$%#$&! " # # # $!!" S ÔÕµaz`]^

Introduction to Virtualization and Containers Phil Hopkins

Trove Onboarding Session Introductory course for contributors and reviewers

High Availability for Enterprise Clouds: Oracle Solaris Cluster and OpenStack

Build Cloud like Rackspace with OpenStack Ansible

Akraino & Starlingx: a technical overview

Travis Cardwell Technical Meeting

StarlingX. StarlingX is aligned with the OpenStack Foundation Edge Working Group and the Linux Foundation Akraino Edge Stack.

Table of Contents 1.1. Introduction. Overview of vsphere Integrated Containers 1.2

ViryaOS RFC: Secure Containers for Embedded and IoT. A proposal for a new Xen Project sub-project

/ Cloud Computing. Recitation 5 February 14th, 2017

SAMPLE CHAPTER. Marko Lukša MANNING

Transcription:

OpenStack Services Docker All The Things and Kubernetes and Atomic OpenStack Summit Paris, November 2014 @brentholden @jameslabocki

Agenda The Problem Current Solutions Tomorrow s Improvements Demonstration

A Thing of Beauty

The Reality

All Infrastructure Platforms Face This Problem!=

All Infrastructure Platforms Face This Problem

And Developers Lives Aren t Easy Either Reproducible Environment Separation between Operating System and Application Description of Deployment Pattern w/o lots of code

Current Solutions

Present Solutions - Build Based + Config Management Inefficient Difficult Workflow State Machine Decision Engine Configuration Management Content Repository OpenStack Service A OpenStack Service B Operating System Operating System Lifecycle Management Tools Bare Metal Bare Metal Workflow State Machine Decision Engine Configuration Management Content Repository OpenStack Service A OpenStack Service B Operating System Lifecycle Management Tools Slow Deployment Workflow State Machine Decision Engine Configuration Management Content Repository Lifecycle Management Tools Bare Metal OpenStack Service A OpenStack Service B Operating System Packages Bare Metal

Present Solutions - Image Based + Declarative Image Builder Still Difficult OpenStack Service OpenStack Service OpenStack Service OpenStack Service Deployer Operating System Operating System Image Image Repository Bare Metal Image Builder Expensive (updates) OpenStack Service OpenStack Service OpenStack Service OpenStack Service Deployer Operating System Image Repository Operating System Image Bare Metal

Tomorrow s Improvements

What If Isolated, lightweight, and portable Pre-integrated Easily describe run-time relationships Run on something thin and easy to update

What If Isolated, lightweight, and portable Pre-integrated Easily describe run-time relationships Run on something thin and easy to update

What If Isolated, lightweight, and portable Pre-integrated Easily describe run-time relationships Run on something thin and easy to update

What If Isolated, lightweight, and portable Pre-integrated Easily describe run-time relationships Run on something thin and easy to update

What If Develop locally and run in production with less friction Isolated, lightweight, and portable Pre-integrated Easily describe run-time relationships Run on something thin and easy to update

Docker Isolated, Lightweight, and Portable Virtual Machines Linux Guest Linux Guest Application Binaries Libraries Application Binaries Libraries Application Application Application Application s Binaries Libraries Libvirt/KVM Linux Linux Server Server API (Docker) Develop Build Push Enjoy!

Kubernetes Scheduling Traffic Minion kubectl (user commands) Docker cadvisor Kubelet Pod Authorization Authentication APIs Scheduling actuator REST (pods, services, rep controllers) Pod Pod Proxy Kubelet info service Minion Docker Scheduler Scheduler Master Components Replication Controller Distributed Watchable Storage cadvisor Kubelet Pod Pod Proxy Pod

Kubernetes Scheduling + Easily describe run-time relationships Imperative service mongod start Declarative { "id": "mongodb", "desiredstate": { "manifest": { "version": "v1", "id": "mongodb", "containers": [{ "name": "mongodb", "image": "dockerfile/mongodb", "ports": [{ "containerport": 6379, "hostport": 6379 }] }] } }, "labels": { "name": "mongodb" } chkconfig mongod on mongo --host controller --eval ' db = db.getsiblingdb("ceilometer"); db.adduser({user: "ceilometer", pwd: "mypassword", roles: [ "readwrite", "dbadmin" ]})'. }

Atomic Run on a thin and easy to update OS Application Libraries `rpm-ostree upgrade` SELinux `rpm-ostree rollback` Logging Network Docker + Host

How does it change your life?

Developer Workstation(s) Docker Docker Git Kubernetes Kubernetes Puppet Chef Linux Box Linux Box Vagrant Vagrant Libvirt/KVM Virtual Box Linux OSX Commodity Hardware Apple Hardware

From Development to Operations Test/UAT/Prod GitHub Docker OpenStack Registry OpenStack Service OpenStack Service Vagrant OpenStack Service Linux Box OpenStack Service Puppet Docker Docker Docker Docker Libvirt/KVM Linux Commodity Hardware Kubernetes Atomic Atomic

Demonstration Time!

Demonstration - Operate Registry 1. Quick Tour of Kubernetes GlanceRegistry Docker Docker kube-api-server kube-scheduler kubelet Fedora (Master) cadvisor Fedora (Minion) OpenStack Kubernetes Cluster Fedora Workstation kubectl Docker Kolla Images kube-proxy kolla.git clone #./tools/start Kolla Images Pod Keystone 3. Deploying all the OpenStack services Glance-API 2. Deploying a Pod/Service for an OpenStack service

Challenges External Connectivity Multi-Host Networking Privileged s Run-Time Configuration Persistent Storage (for Services and Exposing Cinder) Monitoring Early Days for Kubernetes

Communities https://github.com/docker/docker https://github.com/googlecloudplatform/kubernetes https://github.com/projectatomic/ https://github.com/openshift/origin-server https://blueprints.launchpad.net/kolla/ https://github.com/larsks/heat-kubernetes

Design Summit Session for Kolla Tuesday November 4 17:30-18:10 Duffy (Le Meridien) Read the notes :)

Slides @ www.allthingsopen.com

Neutron L3 Networking Review Source: http://docs.openstack.org/havana/config-reference/content/under_the_hood_openvswitch.

Networking Difficulties Stock Docker Configuration Host PID NS A PID NS NET NS B PID NS NET NS NET NS

Networking Difficulties (2) Host eth0 Linux bridge (docker0) Stock Docker Configuration /bin/ bash tap (eth0)

Networking Difficulties (3) Host eth0 Linux bridge (docker0) Stock Docker Configuration tap (eth0)

Networking Difficulties (4) Stock Docker Configuration Host eth0 Linux bridge (docker0) L2 Agent tap (eth0) L3 Agent tap (eth0)

Networking Difficulties (4) Stock Docker Configuration Host Linux bridge (docker0) eth0 L2 Agent tap (eth0) L3 Agent tap (eth0)

Networking Difficulties (5) Kubernetes Docker Configuration Shared Network NS PID NS A PID NS B PID NS NET NS Kubernetes Pod Host

Networking Difficulties (6) Kubernetes Docker Configuration PID NS eth0 tap (eth0) A PID NS tap (eth1) B PID NS Kubernetes Pod Host Linux bridge (docker0) Shared Network NS

Networking Difficulties (7) Kubernetes Docker Configuration PID NS eth0 tap (eth0) L2 Agent neutron l2-agent tap (eth1) L3 Agent (Privileged) neutron l3-agent Kubernetes Networker Pod Host Linux bridge (docker0) Shared Network NS

If I had an hour to solve a problem and my life depended on the solution, I would spend the first 55 minutes determining the proper question to ask, for once I know the proper question, I could solve the problem in less than five minutes. Albert Einstein