Top Banner
Agile CI/CD with Jenkins and/at ZeroStack Kiran Bondalapati CTO, Co-Founder & Jenkins Admin ZeroStack, Inc. (www.zerostack.com)
21

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

May 20, 2018

Download

Documents

dolien
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Agile CI/CD with Jenkins and/at ZeroStack · Agile CI/CD with Jenkins and/at ZeroStack Kiran Bondalapati CTO, Co-Founder & Jenkins Admin ZeroStack, Inc. ()

Agile CI/CD with Jenkins and/at ZeroStack

Kiran Bondalapati

CTO, Co-Founder & Jenkins Admin

ZeroStack, Inc.

(www.zerostack.com)

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

Outline

• ZeroStack Hybrid Cloud Platform

• Jenkins and ZeroStack

• Jenkins at ZeroStack

• ZeroStack on ZeroStack

© ZeroStack Inc. | zerostack.com 2

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

Enterprise Journey to Cloud

© ZeroStack Inc. | zerostack.com 3

Private Cloud ZeroStack

Self-managed private cloud

with public cloud integration

Building, operating and transitioning to a cloud based IT is hard

Public Cloud

Burst on demandHigh operational

complexity

COMPLEXITY

AG

ILIT

Y

Move to

Cloud

ZeroStack

Cloud

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

Servers

Management Cluster

Cloud Stack Experts

Problems:

• Fragmentation

• High Operational Complexity

• Lack of Flexibility

CMP

Public Cloud

Storage

Transitioning to Cloud Model Today

Compute Service

Storage Service

SDN Controller

Image Library

Authentication

Monitoring

Operations

User workflows

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

Servers

Management Cluster

Cloud Stack Experts

Problems:

• Fragmentation

• High Operational Complexity

• Lack of Flexibility

CMP

Public Cloud

Storage

ZeroStack Cloud Platform

Compute Service

Storage Service

SDN Controller

Image Library

Authentication

Monitoring

Operations

User workflows

Compute, Storage, Hypervisor

Management Software

Converged

Big-data analytics for

monitoring, operations

Self-healing distributed architecture

Web-based access for

Users and Admins

Seamless Application

Migration

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

Jenkins and ZeroStack

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

Openstack API

• ZeroStack supports OpenStack API

– Rich and open API

– Your Jenkins pipeline is portable

• CLI, UI and REST API for provisioning and orchestration

– Compute, Storage, Networking resources

© ZeroStack Inc. | zerostack.com 7

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

Jenkins using OpenStack

• Click and Deploy Jenkins from zApps (ZeroStack)

• OpenStack plugin for Jenkins

• Using custom scripts with OpenStack CLI

• Automation tools like chef, puppet, ansible

– Rich OpenStack library of recipes, playbooks etc.

• REST API orchestrated from Jenkins in any language

© ZeroStack Inc. | zerostack.com 8

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

Choose from zApps

© ZeroStack Inc. | zerostack.com 9

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

Configure and Deploy

© ZeroStack Inc. | zerostack.com 10

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

Configure Cloud Plugin

© ZeroStack Inc. | zerostack.com 11

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

Add OpenStack Project Information

© ZeroStack Inc. | zerostack.com 12

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

Workers are Ready!

© ZeroStack Inc. | zerostack.com 13

• Launched manually or automatically

• Workers can be configured on startup

– Setup and install of packages

– Configure system

– Code pull

• More complex configuration can be baked into the VM image

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

Configure Worker VM

© ZeroStack Inc. | zerostack.com 14

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

e.g. Install golang compiler

© ZeroStack Inc. | zerostack.com 15

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

Jenkins at ZeroStack

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

17

ZeroStack Cloud Platform Architecture

ZeroStack On-premises Distributed Controller

OpenStack Services

Server 1 Server 2 Server 3

ZeroStack SaaS Management Cluster

Openstack API

UI

Policies, Metrics, Events, Analytics

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

18

ZeroStack on ZeroStack

Existing Cloud (Current Version)

Openstack API

Integration

Test

Jenkins

VM 1 VM 2 VM 3 VM 1 VM 2 VM 3VM 1 VM 2 VM 3

New Version

VM 4 VM 5 VM 6 VM 7

New Version

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

Production

Manual

Jenkins

Push Button

Staging

Manual

Jenkins

Push Button

ZeroStack Jenkins Pipeline

© ZeroStack Inc. | zerostack.com 19

Build

Unit Test

Integration

Test

Virtual

Integration

Test

Physical

Chaos

Testing

Release

Candidate

• Jenkins notifications integrated into Slack

• On Jenkins failure we revert first and ask questions later

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

Summary

• OpenStack based cloud makes CI/CD easier

– Using a cloud model reduces custom scripting

– Reusable and portable test & dev framework

– Large collection of orchestration libraries available

• ZeroStack platform is ideal for CI/CD

– ZeroStack lets customers focus on Dev instead of Ops

– Self-healing, distributed and scale-out architecture

– Remote monitoring and predictive operations

– Container integration coming soon

© ZeroStack Inc. | zerostack.com 20

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

Thank You

https://www.zerostack.com/

https://www.zerostack.com/solutions/ci-cd/