Kenzan Spinnaker Meetup

33
MAKE NEXT POSSIBLE Making Continuous Delivery Easy with Spinnaker Nicholas Eden-Walker, Kenzan

Transcript of Kenzan Spinnaker Meetup

Page 1: Kenzan Spinnaker Meetup

MAKE NEXT POSSIBLE Ⓡ

Making Continuous Delivery Easy with SpinnakerNicholas Eden-Walker, Kenzan

Page 2: Kenzan Spinnaker Meetup

●Delivering Software (old way)

●Continuous Delivery

●Spinnaker●Spinnaker Demo

OVERVIEW

What We’ll Cover

Page 3: Kenzan Spinnaker Meetup

●Developers produce builds

●Pitching over walls starts

DELIVERING SOFTWARE

Traditional Lifecycle

Page 4: Kenzan Spinnaker Meetup

Pitching over walls

4

Page 5: Kenzan Spinnaker Meetup

5

Page 6: Kenzan Spinnaker Meetup

6

Page 7: Kenzan Spinnaker Meetup

● Environments maintained manually

● Manual testing / weak feedback

● High effort for deployments● Long lead times● Big breakage● Lack the strength● Do it less often

DELIVERING SOFTWARE

Troubles with manual delivery

Page 8: Kenzan Spinnaker Meetup

● Continuous Integration○ Test integrations

● Continuous Delivery○ Deliver to a higher env

● Continuous Deployment○ Deliver through all envs to prod

DELIVERING SOFTWARE

Continuous *

Page 9: Kenzan Spinnaker Meetup

●Simple rule: Always be ready for prod

●Business decides when to push

CONTINUOUS DELIVERY

Finding a Better Way

Page 10: Kenzan Spinnaker Meetup

10

Page 11: Kenzan Spinnaker Meetup

● Automate all the things! (Build, Test, Deploy)

● Do less more frequently

● Increase feedback● Reduce defects

CONTINUOUS DELIVERY

Goals for CD

Page 12: Kenzan Spinnaker Meetup

CONTINUOUS DELIVERY - Continuous Feedback

12

Page 13: Kenzan Spinnaker Meetup

CONTINUOUS DELIVERY

Seems like DevOps?

●A tool for DevOps●DevOps is much more (culture

vs tech)

Page 14: Kenzan Spinnaker Meetup

CONTINUOUS DELIVERY

GETTING TO CD

Doing that automation is tough

Tools can seem a lot like duct tape

Little integratio

n with cloud

Page 15: Kenzan Spinnaker Meetup

Cloud Native Continuous Delivery

Page 16: Kenzan Spinnaker Meetup

● Asgard - Kitchen sink AWS console with deployments

● Mimir - scripting and workflow system

● Spinnaker - Continuous delivery for cloud - Full OSS project

Origins of Spinnaker

Page 17: Kenzan Spinnaker Meetup

OSS & COMMUNITY ● Netflix set out to work with

partners○ Google○ Microsoft○ Pivotal○ Kenzan

● Community engagement○ Slack○ Github, spinnaker.io,

stackoverflow

Page 18: Kenzan Spinnaker Meetup

FEATURES

● Pipelines● Event Driven● Cloud Drivers● Image Deployments● API First● HTML5 UI

Page 19: Kenzan Spinnaker Meetup

STRUCTURE

● Microservices system● Orchestration / Workflow● Gate security proxy

Page 20: Kenzan Spinnaker Meetup

Sorry about this, some say this is hard to unsee...

20

Page 21: Kenzan Spinnaker Meetup

21

Page 22: Kenzan Spinnaker Meetup

Spinnaker Structure - Microservices

22

Page 23: Kenzan Spinnaker Meetup

● Multi-stage Pipelines● Many types of stages● Use Jenkins for arbitrary

actions● Spring expression

language● Event driven● Chat integration

Spinnaker Features

Pipeline Events

Page 24: Kenzan Spinnaker Meetup

●Bakery service for building images (packer as a service)

● Low configuration drift

Spinnaker Features

Image Deployments

Page 25: Kenzan Spinnaker Meetup

● Several providers across public, hybrid, container

● Abstraction where appropriate

● Many deployment strategies

Spinnaker Features

Cloud Drivers

Page 26: Kenzan Spinnaker Meetup

26

Page 27: Kenzan Spinnaker Meetup

That’s from the movie Highlander if you didn’t know… and isn’t it “There can be only one”?

27

Page 28: Kenzan Spinnaker Meetup

●UI is modern HTML5 client

●Rest APIs ease automation & integration

Spinnaker Features

HTML 5& API First

Page 29: Kenzan Spinnaker Meetup

Spinnaker Features

How does all this help?

PIPELINES○ Capture repeatable processes○ Provide place for automated testing○ Allow tighter feedback loops

IMAGE DEPLOYMENTS

○ Automate environments○ Treat infrastructure as cattle

VISIBILITY

Page 30: Kenzan Spinnaker Meetup

● Professional Services● Cloud consulting● Front & Back-end

development● Joined Spinnaker project

2015● Contributed installation

tools, docs● Created spinnaker-

terraform project

Spinnaker & Kenzan

Who isKenzan?

Page 31: Kenzan Spinnaker Meetup

github.com/kenzanlabs/spinnaker-terraform● Everything you need for

Spinnaker CD● Jenkins, artifact repo● Spinnaker● App● Jobs + pipelines

Getting Started

Using Terraform to Bootstrap

Page 32: Kenzan Spinnaker Meetup

● Advanced CD Pipeline with

● Dev -> QA -> Prod● Multi-cloud

○ Dev on Kubernetes○ QA & Prod on AWS

● Automated testing stages

Demo Time

Multi-cloud Deployments

Page 33: Kenzan Spinnaker Meetup

@JinpaLhawang

@kenzanmedia

www.kenzan.com

techblog.kenzan.com

github.com/kenzanlabs

Thank you!