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

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. ()

  • Upload
    dolien

  • View
    225

  • Download
    3

Embed Size (px)

Citation preview

Agile CI/CD with Jenkins and/at ZeroStack

Kiran Bondalapati

CTO, Co-Founder & Jenkins Admin

ZeroStack, Inc.

(www.zerostack.com)

Outline

• ZeroStack Hybrid Cloud Platform

• Jenkins and ZeroStack

• Jenkins at ZeroStack

• ZeroStack on ZeroStack

© ZeroStack Inc. | zerostack.com 2

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

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

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

Jenkins and ZeroStack

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

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

Choose from zApps

© ZeroStack Inc. | zerostack.com 9

Configure and Deploy

© ZeroStack Inc. | zerostack.com 10

Configure Cloud Plugin

© ZeroStack Inc. | zerostack.com 11

Add OpenStack Project Information

© ZeroStack Inc. | zerostack.com 12

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

Configure Worker VM

© ZeroStack Inc. | zerostack.com 14

e.g. Install golang compiler

© ZeroStack Inc. | zerostack.com 15

Jenkins at ZeroStack

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

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

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

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

Thank You

https://www.zerostack.com/

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