ContainerOps DevOps Orchestration

Similar documents
ContainerOps - DevOps Orchestration. Quanyi Ma

Containers & Microservices For Realists. Karthik

Jenkins: A complete solution. From Continuous Integration to Continuous Delivery For HSBC

Important DevOps Technologies (3+2+3days) for Deployment

Distributed CI: Scaling Jenkins on Mesos and Marathon. Roger Ignazio Puppet Labs, Inc. MesosCon 2015 Seattle, WA

TM DevOps Use Case TechMinfy All Rights Reserved

DevNet Workshop-Hands-on with CloudCenter and Jenkins

Sunil Shah SECURE, FLEXIBLE CONTINUOUS DELIVERY PIPELINES WITH GITLAB AND DC/OS Mesosphere, Inc. All Rights Reserved.

Welcome to Docker Birthday # Docker Birthday events (list available at Docker.Party) RSVPs 600 mentors Big thanks to our global partners:

TM DevOps Use Case. 2017TechMinfy All Rights Reserved

Agile CI/CD with Jenkins and/at ZeroStack. Kiran Bondalapati CTO, Co-Founder & Jenkins Admin ZeroStack, Inc. (

Think Small to Scale Big

TEN LAYERS OF CONTAINER SECURITY

Roles and Responsibilities on DevOps Adoption

Amir Zipory Senior Solutions Architect, Redhat Israel, Greece & Cyprus

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

DevOps Technologies. for Deployment

Elizabeth Lawler CEO & Co-Founder Conjur,

Go Faster: Containers, Platforms and the Path to Better Software Development (Including Live Demo)

Collaborative Communication. Martin Alfke

SBB. Java User Group 27.9 & Tobias Denzler, Philipp Oser

Docker CaaS. Sandor Klein VP EMEA

Introduction to the Open Service Broker API. Doug Davis

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

DevOps in the Cloud A pipeline to heaven?! Robert Cowham BCS CMSG Vice Chair

Azure DevOps. Randy Pagels Intelligent Cloud Technical Specialist Great Lakes Region

Docker and Oracle Everything You Wanted To Know

TM DevOps Use Case. 2017TechMinfy All Rights Reserved

Continuous Delivery for Cloud Native Applications

Con. Continuous Integration

DevOps and Continuous Delivery USE CASE

I keep hearing about DevOps What is it?

A DEVOPS STATE OF MIND. Chris Van Tuin Chief Technologist, West

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

Test Automation Strategies in Continuous Delivery. Nandan Shinde Test Automation Architect (Tech CoE) Cognizant Technology Solutions

Containers, Serverless and Functions in a nutshell. Eugene Fedorenko

How Can Testing Teams Play a Key Role in DevOps Adoption?

Developing and Testing Java Microservices on Docker. Todd Fasullo Dir. Engineering

Leveraging the OO Jenkins Plugin in DevOps scenarios

SUSE s vision for agile software development and deployment in the Software Defined Datacenter

Configuration Management

Continuous Integration and Deployment (CI/CD)

Continuous Integration and Delivery with Spinnaker

UP! TO DOCKER PAAS. Ming

Continuous Integration using Docker & Jenkins

Deploying Cloud-Agnostic Applications with Cisco CloudCenter

From development to production

Containers Infrastructure for Advanced Management. Federico Simoncelli Associate Manager, Red Hat October 2016

DevOps Course Content

Taming your heterogeneous cloud with Red Hat OpenShift Container Platform.

CloudCenter for Developers

CONTINUOUS DELIVERY IN THE ORACLE CLOUD

What s New in Red Hat OpenShift Container Platform 3.4. Torben Jäger Red Hat Solution Architect

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

DefectDojo. The Good, the Bad and the Ugly. OWASP Stammtisch Hamburg Tilmann Haak Manuel Schneider

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

Continuous Integration (CI) with Jenkins

Application Deployment

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

AGILE RELIABILITY WITH RED HAT IN THE CLOUDS YOUR SOFTWARE LIFECYCLE SPEEDUP RECIPE. Lutz Lange - Senior Solution Architect Red Hat

HTML presentation, positioning and designing responsive web applications.

Kuber-what?! Learn about Kubernetes

A DEVOPS STATE OF MIND. Chris Van Tuin Chief Technologist, West

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

Migrating Applications with CloudCenter

DOS AND DON'TS OF DEVSECOPS

FROM VSTS TO AZURE DEVOPS

API, DEVOPS & MICROSERVICES

AEM Code Promotion and Content Synchronization Best Practices

From Continuous Integration To Continuous Delivery With Jenkins

AALOK INSTITUTE. DevOps Training

Continuous Delivery the hard way with Kubernetes. Luke Marsden, Developer

Continuous Delivery at Liferay A fast lane for your software updates. Rubén Eduardo

USING GIT FOR AUTOMATION AND COLLABORATION JUSTIN ELLIOTT - MATT HANSEN PENN STATE UNIVERSITY

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

Implementing the Twelve-Factor App Methodology for Developing Cloud- Native Applications

Red Hat Roadmap for Containers and DevOps

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

TECHNICAL BRIEF. Scheduling and Orchestration of Heterogeneous Docker-Based IT Landscapes. January 2017 Version 2.0 For Public Use

In This Webinar. ConEnuous Load TesEng & ConEnuous Delivery with Jenkins

DevOps Agility in the Evolving Cloud Services Landscape

Delivering Kubernetes Apps with Helm. Michelle Adnan Adam

Child Welfare Digital Services Sprint Review Presentation

Deployment and Testing Automation in Web Applications Implementing DevOps Practices in Production

Automating Security Practices for the DevOps Revolution

BUILDING MICROSERVICES ON AZURE. ~ Vaibhav

Cisco Container Platform

Being Mean To Your Code: Integrating Security Tools into Your DevOps Pipeline

Preparing for Jenkins Certification

Microservices. GCPUG Tokyo Kubernetes Engine

Inverting the Pyramid

CNA1699BU Running Docker on your Existing Infrastructure with vsphere Integrated Containers Martijn Baecke Patrick Daigle VMworld 2017 Content: Not fo

Multi-Cloud and Application Centric Modeling, Deployment and Management with Cisco CloudCenter (CliQr)

Openshift: Key to modern DevOps

Deploying Applications on DC/OS

Containerised Development of a Scientific Data Management System Ben Leighton, Andrew Freebairn, Ashley Sommer, Jonathan Yu, Simon Cox LAND AND WATER

Backup strategies for Stateful Containers in OpenShift Using Gluster based Container-Native Storage

OpenStack Enabling DevOps Shannon McFarland CCIE #5245 Distinguished DEVNET-1104

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

Was gibt es Neues Better Team Work with Cloud

Transcription:

ContainerOps DevOps Orchestration

Quanyi Ma DevOps & Open Source Expert Senior Architect & Full Stack Developer Email: maquanyi@huawei.com Twitter: @genedna Github: https://github.com/genedna

Agenda 1. The story of DevOps 2. What s the DevOps 3. The ContainerOps Concept Defining/Drawing/Running 4. What s the DevOps Component 5. The ContainerOps core DevOps Workflow Engine 6. A user case of ContainerOps

DevOps Story 2007 - While consulting on a data center migration for the Belgium government, system administrator Patrick Debois becomes frustrated by conflicts between developers and system admins. He ponders solutions. Agile Conference 2008 in Toronto - Andrew Clay Shafer s birds of a feather ad hoc session called Agile Infrastructure. The only person who showed up was Patrick Debois. Shafer and Debois started a Google group called Agile System Administration O Reilly Velocity 2009 Conference - Presentation at Velocity of 10+ Deploys per Day: Dev and Ops Cooperation at Flickr by John Allspaw and Paul Hammond Debois watched by streaming video, tweeted. October 2009 - Organized through Twitter. Conversation continued on Twitter and the #DevOps hashtag was born, dropping Days for brevity. 2010 Mountain View, CA - DevOpsDays Mar. 2011 - Gartner s first notes about DevOps April 2012 - In an InfoQ video interview, Debois admitted that naming the movement was not as intentional as it might seem: I picked DevOpsDays as Dev and Ops working together because Agile System Administration was too long, he said. There never was a grand plan for DevOps as a word.

What s the DevOps? DevOps is "a portmanteau of 'development' and 'operations'" and is "a software development method that stresses communications, collaboration, integration, automation and measurement of cooperation between software developers and other IT professionals". -From Wikipedia DevOps is an operational philosophy that promotes better communication between development and operations as more elements of operations become programmable.

What s the DevOps ultimate AIM? Goal -> The ultimate is break down barriers between developer, QAs and operators. How -> Define the operation environment at development stage. Define the process from development to the production. Automate everything.

Why improve so hard? Don t break the original DevOps workflow. Add DevOps orchestration tool adaptive the workflow. Improve the process with customize DevOps task. Add DevOps service like Travis CI. Everyone is happy!!!

ContainerOps - DevOps Orchestration Defining -> Component Drawing -> Workflow Running -> Container Orchestration Open Source @ -> https://github.com/huawei/containerops

Defining Component - Container Image For DevOps 1. Encapsulating your DevOps task in a container image. 2. Defining the input & output data. a. Data type is Key/Value b. Input data with environment variables. Reserved environment variable name is [CO_DATA]. c. Output data in the stdout/stderr, the reserved environment variable name is [CO_RESULT]. d. Output data format [COUT] CO_RESULT = true/false. e. Base image is phusion/baseimage. 3. Management the component lifecycle in the ContainerOps system.

Why Use DevOps Component? Search Download Environment Run Plugin Jenkins Wiki Wget https://... Follow README, prepare virtual machine and initialize the environments Scheduling the VM to run the plugin Component Component Repository Copy URL N/A N/A

Why A Component Not A Pod? 1. Adaptive other container orchestration system like Docker Swarm. 2. Only one task in the component to easily maintain and share.

Component Namespace Namespace Organization OR User The Library Component maintain by ContainerOps team and community partner together. Library

Component Repository UI Component Repository Container Registry [https://github.com/huawei/dockyard]

Component Architecture Antilog Docker Collect log using docker logs -f -t --details ContainerID Reserved environment variable [CO_DATA] for transfer data into container, user could define more variables and we suggest all variable name prefix with [CO_]. CO_DATA stdout CO_RESULT CO_XXXX DevOps Process stderr return code CO_AAAA CO_YYYY STDOUT FORMAT [COUT] CO_RESULT =... CO_BBBB [Base Image] https://hub.docker.com/r/phusion/baseimage

Logarithm Architecture Kubernetes Master Logarithm Database Node Node Dock er Rkt AntiLo g Logarithmd Storage Driver TiDB/TiKV Driver TiDB Node Dock er Log Process Flow Node Rkt Log s Flow Engine Webhook TiKV Dock er Log s Notification

Workflow Engine Stage/Action/Job Start Stage Pause Stage End Stage Timeout All actions run by sequence. All actions run by parallel. Active Label Version Environment Variables Resource Trigger

Workflow Engine - Job Container Registry The Other Service Pre Lua Interpreter Post Lua Interpreter Component Endpoint 2. Pull From Registry 1. Call third service. Execute Lua Scripts 1. Run with Kubernetes OR 2. Call the callback. Execute Lua Scripts Kubernetes Cluster Service API Input Service output Label : Value Label : Value Label : Value Label : Value Label : Value Label : Value Label : Value

TiDB/TiKV/PB Case 3 DevOps Stage with different systems: 1. Test case Within Travis CI 2. Merge Stage: 10000000+ MySQL test case with Jenkins. 3. Release Stage: 7*24 hours user scenario with manual.

8. Call Slack API 1. Registering ContainerOps webhook Slack User Scenario VM User Scenario VM User Scenario VM User Scenario VM... GCE Github 4. Call Github API 2. PR notify the ContainerOps workflow engine. 7. 7*24 user scenario test. 6. Call Slack API ContainerOps 3. Migrating the Travis CI to DevOps component and running with Kubernetes 5. Migrating the Jenkins to DevOps component and running with GCE. Test Case Component Test Case Component Test Case Component... MySQL Case Component MySQL Case Component MySQL Case Component... Kubernetes Kubernetes

Thanks & End