Metrics-Driven DevOps with Jenkins and Splunk
-
Upload
nguyentram -
Category
Documents
-
view
229 -
download
6
Transcript of Metrics-Driven DevOps with Jenkins and Splunk
Copyright©2016SplunkInc.
BradJohnsonVPProductMarkeAng,CloudBees
Metrics-DrivenDevOpswithJenkinsandSplunk
BrianDawsonDevOpsEvangelistCloudBees
PanosPapadopoulosProductManager,Splunk
Disclaimer
2
DuringthecourseofthispresentaAon,wemaymakeforwardlookingstatementsregardingfutureeventsortheexpectedperformanceofthecompany.WecauAonyouthatsuchstatementsreflectourcurrentexpectaAonsandesAmatesbasedonfactorscurrentlyknowntousandthatactualeventsorresultscoulddiffermaterially.Forimportantfactorsthatmaycauseactualresultstodifferfromthosecontainedinourforward-lookingstatements,pleasereviewourfilingswiththeSEC.Theforward-lookingstatementsmadeinthethispresentaAonarebeingmadeasoftheAmeanddateofitslivepresentaAon.IfreviewedaSeritslivepresentaAon,thispresentaAonmaynotcontaincurrentor
accurateinformaAon.WedonotassumeanyobligaAontoupdateanyforwardlookingstatementswemaymake.InaddiAon,anyinformaAonaboutourroadmapoutlinesourgeneralproductdirecAonandis
subjecttochangeatanyAmewithoutnoAce.ItisforinformaAonalpurposesonlyandshallnot,beincorporatedintoanycontractorothercommitment.SplunkundertakesnoobligaAoneithertodevelopthefeaturesorfuncAonalitydescribedortoincludeanysuchfeatureorfuncAonalityinafuturerelease.
Agenda
TheStateofDevOps MetricsMaVer ConAnuousDeliverywithJenkins JenkinsandSplunk Q&A
3
TheStateofDevOps
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/
“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.
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
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
Why?
It connects all the things
It’s extensible
It’s a key to going fast
MetricsMaVer
WhydoMetricsMaVer? Removeopinionand“Normalize”view Alignsstakeholders ProvideconAnuousvisibilityandfeedback Surface– BoVlenecks– Success– Failures
Enable“trust”butprovidetraceability
Jenkins Usage
Greaterthan60%useJenkinson10ormoreteam
Greaterthan90%considerJenkinsmission-cri8cal
TheTrinityandTheChasms
MetricsConnect
18
PeopleandCulture– AlignsDevOpsstakeholders– EncouragescolaboraAon
ProcessandPracAce– CodifiespracAces
ToolsandTechnology– Connectstoolsandtechnologies– EnsuresavailabilityofcriAcalsystems
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
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
CDandJenkins
ACDPipelinewithJenkinsPipeline
22
Pipelines Need: ✓ Branching ✓ Looping ✓ Restarts ✓ Checkpoints ✓ Manual Input
Jenkins Pipeline
JenkinsPipelineStageView
23
JenkinsPipelineDemo
24
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
JenkinsandSplunk
New:SplunkAppforJenkinsThiscompanionapptoSplunkJenkinspluginprovides:
Jobmonitoring
Buildanalysisincludingtrends,tests,arAfacts,logs
Testresultsincludingstacktraces,regressions
JenkinsoperaAons
TheSplunkJenkinspluginusestheHTTPEventCollectortosendthedatatoSplunk
MonitorYourJenkinsClusterHealthTroubleshootyourJenkinsenvironmentanddiscoverboVlenecks:
JVMheapmemory JVMthreads Queuesize Numberofslaves Disconnectedslaves Slavehealth Syncstatus Jenkinslogs
AccelerateVelocityofBuildInvesAgaAons
SplunkVision
30
DevOpsToolchainCIM
Plan Code Build Test/QA Stage Release Config Monitor
SPLUNKITSERVICEINTELLIGENCE
OtherITSIModules
DevOpsToolchainTAsWebHooks
SplunkITSIModuleforConAnuousDelivery
CodeVelocity
CodeQuality
BusinessImpact DevSecOps DevOps
Triage ChatOps
SplunkITSIModuleforConAnuousDelivery AccelerateconAnuousdeliverywithvisibilityintoreleasehealth
ConAnuouslyimprovethereleasequality
EffecAvelymanageDevOpsteamstoimprovecollaboraAon,resourcing,deliveryspeedandbusinessimpactofIT
Resources
32
CompletePost-CardforaJenkinsT-Shirt
Freedownload-SplunkAppforJenkinshVps://splunkbase.splunk.com/DevOpsresources:www.splunk.com/devops
TrialCloudBeesJenkinsPlakormhVps://www.cloudbees.com/get-started
Q&A
THANKYOU