metrics-driven devops with jenkins and splunk

34
Copyright © 2016 Splunk Inc. Brad Johnson VP Product MarkeAng, CloudBees Metrics-Driven DevOps with Jenkins and Splunk Brian Dawson DevOps Evangelist CloudBees Panos Papadopoulos Product Manager, Splunk

Upload: nguyentram

Post on 03-Jan-2017

240 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Metrics-Driven DevOps with Jenkins and Splunk

Copyright©2016SplunkInc.

BradJohnsonVPProductMarkeAng,CloudBees

Metrics-DrivenDevOpswithJenkinsandSplunk

BrianDawsonDevOpsEvangelistCloudBees

PanosPapadopoulosProductManager,Splunk

Page 2: Metrics-Driven DevOps with Jenkins and Splunk

Disclaimer

2

DuringthecourseofthispresentaAon,wemaymakeforwardlookingstatementsregardingfutureeventsortheexpectedperformanceofthecompany.WecauAonyouthatsuchstatementsreflectourcurrentexpectaAonsandesAmatesbasedonfactorscurrentlyknowntousandthatactualeventsorresultscoulddiffermaterially.Forimportantfactorsthatmaycauseactualresultstodifferfromthosecontainedinourforward-lookingstatements,pleasereviewourfilingswiththeSEC.Theforward-lookingstatementsmadeinthethispresentaAonarebeingmadeasoftheAmeanddateofitslivepresentaAon.IfreviewedaSeritslivepresentaAon,thispresentaAonmaynotcontaincurrentor

accurateinformaAon.WedonotassumeanyobligaAontoupdateanyforwardlookingstatementswemaymake.InaddiAon,anyinformaAonaboutourroadmapoutlinesourgeneralproductdirecAonandis

subjecttochangeatanyAmewithoutnoAce.ItisforinformaAonalpurposesonlyandshallnot,beincorporatedintoanycontractorothercommitment.SplunkundertakesnoobligaAoneithertodevelopthefeaturesorfuncAonalitydescribedortoincludeanysuchfeatureorfuncAonalityinafuturerelease.

Page 3: Metrics-Driven DevOps with Jenkins and Splunk

Agenda

  TheStateofDevOps  MetricsMaVer  ConAnuousDeliverywithJenkins  JenkinsandSplunk  Q&A

3

Page 4: Metrics-Driven DevOps with Jenkins and Splunk

TheStateofDevOps

Page 5: Metrics-Driven DevOps with Jenkins and Splunk
Page 6: Metrics-Driven DevOps with Jenkins and Splunk

DevOpsFuelsConAnuousDisrupAon

Sources:Googlesearch=“Jenkins[companyname]blogbuild”hVp://techbeacon.com/10-companies-killing-it-devopshVps://blog.xebialabs.com/2015/09/11/9-companies-you-wouldnt-expect-to-be-using-devops/hVps://www.technologyreview.com/lists/companies/2015/

Page 7: Metrics-Driven DevOps with Jenkins and Splunk

“Agile & Incremental Software Delivery”

“Real Time DevOps”

“Continually optimize the IT delivery model”

“#3. Speed of IT Delivery”

“Continuous delivery”

“Reorganizing IT for faster software delivery”

“DevOps can accelerate delivery 15-20%”

“Nonstop demand is the #1 problem facing IT departments today.”

Continuous Delivery is the answer.

Page 8: Metrics-Driven DevOps with Jenkins and Splunk

Software changes continuously

deployed to live production

Continuous Deployment

Software changes continuously delivered to stakeholders in

any environment

Continuous Delivery

Continuous Delivery in Context

Continuous Integration

Automated commit, build and testing of code in the development environment

DevOps → Cultural approaches & technical practices

User Feedback Rapid Changes

Dis

cipl

ine

AGILE

An incremental approach to identifying,

prioritizing, and coordinating feature

development

Development Production / Prod-like Live Production Env.

St

age

Release Deploy Monitor

Upstream (left) Downstream (right) Define Plan Code Compile Build Unit Test Analyze Integrate Int. Test Package Place Load Test Acct. Test

Change Mgt. Production Bugs

Page 9: Metrics-Driven DevOps with Jenkins and Splunk

Jenkins is the Hub of DevOps

Code & Commit Build & Config Scan & Test Release Deploy

Over 1.2 Million Users 1000+ plugins cover every stage of

delivery

Page 10: Metrics-Driven DevOps with Jenkins and Splunk

Why?

Page 11: Metrics-Driven DevOps with Jenkins and Splunk

It connects all the things

Page 12: Metrics-Driven DevOps with Jenkins and Splunk

It’s extensible

Page 13: Metrics-Driven DevOps with Jenkins and Splunk

It’s a key to going fast

Page 14: Metrics-Driven DevOps with Jenkins and Splunk

MetricsMaVer

Page 15: Metrics-Driven DevOps with Jenkins and Splunk

WhydoMetricsMaVer?  Removeopinionand“Normalize”view  Alignsstakeholders  ProvideconAnuousvisibilityandfeedback  Surface–  BoVlenecks–  Success–  Failures

  Enable“trust”butprovidetraceability

Page 16: Metrics-Driven DevOps with Jenkins and Splunk

Jenkins Usage

Greaterthan60%useJenkinson10ormoreteam

Greaterthan90%considerJenkinsmission-cri8cal

Page 17: Metrics-Driven DevOps with Jenkins and Splunk

TheTrinityandTheChasms

Page 18: Metrics-Driven DevOps with Jenkins and Splunk

MetricsConnect

18

  PeopleandCulture–  AlignsDevOpsstakeholders–  EncouragescolaboraAon

  ProcessandPracAce–  CodifiespracAces

  ToolsandTechnology–  Connectstoolsandtechnologies–  EnsuresavailabilityofcriAcalsystems

Page 19: Metrics-Driven DevOps with Jenkins and Splunk

Tools & Technologies enable “crossing the chasm”

Normalized

✓  Language and practice agnostic

✓  Not Dev or Ops specific

✓  Distributed

Rich Integration Support

✓  Tools as microservices

✓  Modular

Automated

✓  Repeatability

✓  Reportability

✓  Flexibility

Increase Confidence In Downstream Deliverables

✓  Support supply-chain

✓  Traceability

✓  Immutability

✓  Measure and report

Scale To Enterprise

✓  Cross-domain visibility metrics

✓  Security and governance

✓  Supported

19

Page 20: Metrics-Driven DevOps with Jenkins and Splunk

Team

W

orkg

roup

E

xecu

tive

Define Plan Code Build Integrate Test Release Deploy Operate

Mis

c P

oint

S

olut

ions

Jira

, Te

amFo

rge.

.

Ecl

ipse

, In

telli

J, S

VN

, G

it

Jenk

ins,

M

ake,

M

aven

..

Jenk

ins,

CI

Sol

utio

ns

Sel

eniu

m,

Test

Link…

XL

Rel

ease

, H

P O

O…

XL

Rel

ease

, H

P O

O…

Cha

t, Lo

ggin

g,

Mon

itorin

g

LDAP, SAML

Product Portfolio

Application Performance Mgt

Service Desk

IntegrateandAutomate

20

Page 21: Metrics-Driven DevOps with Jenkins and Splunk

CDandJenkins

Page 22: Metrics-Driven DevOps with Jenkins and Splunk

ACDPipelinewithJenkinsPipeline

22

Pipelines Need: ✓  Branching ✓  Looping ✓  Restarts ✓  Checkpoints ✓  Manual Input

Jenkins Pipeline

Page 23: Metrics-Driven DevOps with Jenkins and Splunk

JenkinsPipelineStageView

23

Page 24: Metrics-Driven DevOps with Jenkins and Splunk

JenkinsPipelineDemo

24

Page 25: Metrics-Driven DevOps with Jenkins and Splunk

CloudBeesJenkinsPlakorm:Monitoring,VisualizaAonandAnalyAcs

Jenkins Pipeline Stage View Visibility into Pipeline Status

Jenkins Analytics Cross-Team Build Analytics

… among many other features, tailored for enterprise organizations using Jenkins @ scale

Page 26: Metrics-Driven DevOps with Jenkins and Splunk

JenkinsandSplunk

Page 27: Metrics-Driven DevOps with Jenkins and Splunk

New:SplunkAppforJenkinsThiscompanionapptoSplunkJenkinspluginprovides:

  Jobmonitoring

  Buildanalysisincludingtrends,tests,arAfacts,logs

  Testresultsincludingstacktraces,regressions

  JenkinsoperaAons

TheSplunkJenkinspluginusestheHTTPEventCollectortosendthedatatoSplunk

Page 28: Metrics-Driven DevOps with Jenkins and Splunk

MonitorYourJenkinsClusterHealthTroubleshootyourJenkinsenvironmentanddiscoverboVlenecks:

  JVMheapmemory  JVMthreads  Queuesize  Numberofslaves  Disconnectedslaves  Slavehealth  Syncstatus  Jenkinslogs

Page 29: Metrics-Driven DevOps with Jenkins and Splunk

AccelerateVelocityofBuildInvesAgaAons

Page 30: Metrics-Driven DevOps with Jenkins and Splunk

SplunkVision

30

DevOpsToolchainCIM

Plan Code Build Test/QA Stage Release Config Monitor

SPLUNKITSERVICEINTELLIGENCE

OtherITSIModules

DevOpsToolchainTAsWebHooks

SplunkITSIModuleforConAnuousDelivery

CodeVelocity

CodeQuality

BusinessImpact DevSecOps DevOps

Triage ChatOps

Page 31: Metrics-Driven DevOps with Jenkins and Splunk

SplunkITSIModuleforConAnuousDelivery  AccelerateconAnuousdeliverywithvisibilityintoreleasehealth

  ConAnuouslyimprovethereleasequality

  EffecAvelymanageDevOpsteamstoimprovecollaboraAon,resourcing,deliveryspeedandbusinessimpactofIT

Page 32: Metrics-Driven DevOps with Jenkins and Splunk

Resources

32

CompletePost-CardforaJenkinsT-Shirt

Freedownload-SplunkAppforJenkinshVps://splunkbase.splunk.com/DevOpsresources:www.splunk.com/devops

TrialCloudBeesJenkinsPlakormhVps://www.cloudbees.com/get-started

Page 33: Metrics-Driven DevOps with Jenkins and Splunk

Q&A

Page 34: Metrics-Driven DevOps with Jenkins and Splunk

THANKYOU