Kenzan Spinnaker Meetup

Preview:

Citation preview

MAKE NEXT POSSIBLE Ⓡ

Making Continuous Delivery Easy with SpinnakerNicholas Eden-Walker, Kenzan

●Delivering Software (old way)

●Continuous Delivery

●Spinnaker●Spinnaker Demo

OVERVIEW

What We’ll Cover

●Developers produce builds

●Pitching over walls starts

DELIVERING SOFTWARE

Traditional Lifecycle

Pitching over walls

4

5

6

● 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

● Continuous Integration○ Test integrations

● Continuous Delivery○ Deliver to a higher env

● Continuous Deployment○ Deliver through all envs to prod

DELIVERING SOFTWARE

Continuous *

●Simple rule: Always be ready for prod

●Business decides when to push

CONTINUOUS DELIVERY

Finding a Better Way

10

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

● Do less more frequently

● Increase feedback● Reduce defects

CONTINUOUS DELIVERY

Goals for CD

CONTINUOUS DELIVERY - Continuous Feedback

12

CONTINUOUS DELIVERY

Seems like DevOps?

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

vs tech)

CONTINUOUS DELIVERY

GETTING TO CD

Doing that automation is tough

Tools can seem a lot like duct tape

Little integratio

n with cloud

Cloud Native Continuous Delivery

● Asgard - Kitchen sink AWS console with deployments

● Mimir - scripting and workflow system

● Spinnaker - Continuous delivery for cloud - Full OSS project

Origins of Spinnaker

OSS & COMMUNITY ● Netflix set out to work with

partners○ Google○ Microsoft○ Pivotal○ Kenzan

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

stackoverflow

FEATURES

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

STRUCTURE

● Microservices system● Orchestration / Workflow● Gate security proxy

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

20

21

Spinnaker Structure - Microservices

22

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

actions● Spring expression

language● Event driven● Chat integration

Spinnaker Features

Pipeline Events

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

● Low configuration drift

Spinnaker Features

Image Deployments

● Several providers across public, hybrid, container

● Abstraction where appropriate

● Many deployment strategies

Spinnaker Features

Cloud Drivers

26

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

27

●UI is modern HTML5 client

●Rest APIs ease automation & integration

Spinnaker Features

HTML 5& API First

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

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

development● Joined Spinnaker project

2015● Contributed installation

tools, docs● Created spinnaker-

terraform project

Spinnaker & Kenzan

Who isKenzan?

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

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

Getting Started

Using Terraform to Bootstrap

● Advanced CD Pipeline with

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

○ Dev on Kubernetes○ QA & Prod on AWS

● Automated testing stages

Demo Time

Multi-cloud Deployments

@JinpaLhawang

@kenzanmedia

www.kenzan.com

techblog.kenzan.com

github.com/kenzanlabs

Thank you!

Recommended