Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
A Continuous Journey with Jenkins
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Twistlock
March 28, 2019
Technology
46
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
A Continuous Journey with Jenkins
Twistlock
March 28, 2019
Transcript
28 slides
A Continuous Journey with Jenkins
Meet Me David B. Schott Sr. Biz Dev Eng /
Partner SA CloudBees, Inc. 2 dbschott schottsfired
Meet Jenkins -An open source automation server -Facilitates Continuous Integration
(CI) and Continuous Delivery (CD) -Flexible and extensible with 1550+ Plugins 3
Our Journey Begins...
Huge success!
Weeks later...
Attach Agents! Master Agent Execute commands Logs, test results, artifacts
- Agents become snowflakes - Competition for resources Weeks later...
CloudBees DevOptics - Run Insights - Free* Forever! https://www.cloudbees.com/products/cloudbees-devoptics 9
*
Now what? Developers: must we point and click to make
things work in Jenkins? 10
CI/CD instructions as code Durable Resumable Auditable Reviewable Programmatic Shareable
Convert to Pipeline! //Jenkinsfile.groovy pipeline { agent { docker 'maven:3-alpine' } stages { stage('Example Build') { steps { sh 'mvn -B clean verify' } } } }
CloudBees Blue Ocean 12
A DevSecOps Blue Ocean Pipeline.. “It’s at this point in
our journey that we can implement DevSecOps, like so” 13
- Increased adoption - More builds, more branches - Additional
master load Weeks Later...
- No more load issues - Failures are less impactful
- Teams have their own - Plugins - Configurations - Build queue Scale Masters!
- Optimizing agent resources - Difficulties - Managing - Securing
- Governing - Operationalizing Scaling Challenges
CloudBees Core https://www.cloudbees.com/products/cloudbees-core 17 Jenkins Operations Center Jenkins Master Project
Team 1 Jenkins Master Project Team 2 Jenkins Master Project Team 3 Jenkins Master Project Team 4 Build Agent Build Agent Build Agent Build Agent Build Agent Build Agent RBAC LDAP Plugin Catalog Shared Agents
Now what? Kubernetes (K8s), oh my! 18
- Fault tolerant by default - Small and nimble -
Fewer moving pieces during upgrades - Bin packing Masters in Kubernetes
- Launched on demand, as capacity allows - May be
defined by end users - Simplified tooling and dependency management - Steps are run in containers - Shared workspace Agents in Kubernetes //Jenkinsfile.groovy pipeline { agent { kubernetes { //cloud 'kubernetes' label 'mypod' yaml """ apiVersion: v1 kind: Pod spec: containers: - name: maven image: maven:3.3.9-jdk-8-alpine command: ['cat'] tty: true """ } } stages { stage('Run Maven') { steps { container('maven') { sh 'mvn -version' } } } } }
- How do we treat masters as cattle, not pets?
- How do we leverage Cloud services? - How do we onboard new apps more quickly? - What does K8s-native CD look like? Cloud Native Thinking
Webhook “The world is envisioned as a repo and not
as a kubernetes installation" - Kelsey Hightower GitOps Pattern 22 Desired State Operator Apply
Towards a Cloud Native Jenkins 23 Building blocks Pluggable Storage
Configuration as Code Jenkins X
Configuration as Code https://jenkins.io/projects/jcasc/ 24
- Goal: eliminate the need for jenkins_home - How? -
Artifact Manager for S3 - Kubernetes Credentials Provider - Logs → Elasticsearch, Fluentd, CloudWatch - Many more, WiP Pluggable Storage /jenkins_home /jobs /plugins ... https://jenkins.io/sigs/cloud-native/pluggable-storage/
Jenkins X https://jenkins-x.io 26
CloudBees Core for Kubernetes CD - Limited Availability https://pages.cloudbees.com/K8s 27
Summary / Next Steps - Reach out to CloudBees to
learn more! - Jenkins: Shifting Gears by Kohsuke Kawaguchi (CTO) - 8/31/18 - CloudBees and Jenkins Update by Christina Noren (CPO) - 3/11/19 Thank you! Questions?
More Decks by Twistlock
See All by Twistlock
Container Security & Application Modernization
twistlock
0
120
2019 CISO Leadership Forum: Security 3.0 – Shifting to Automation
twistlock
0
88
AWS Containerized and Serverless services for running enterprise code at scale
twistlock
0
54
How Containers Change the Security Paradigm
twistlock
0
61
Going Infinite, handling 1M websockets connections in Go
twistlock
0
180
DevSecOps meets GitOps with Twistlock and Weaveworks
twistlock
0
180
The Story of Escape Sequence Vulnerabilities
twistlock
0
120
Real World Security: Software Supply Chain
twistlock
0
130
Exploiting Alpine Linux From Vulnerability to Code Execution
twistlock
1
460
Other Decks in Technology
See All in Technology
ブース設計、 お前もプロダクトだったのか / So Booth Design Was a Product All Along
akihiro0038
0
150
ポケモンバトルのAIエージェント
koji_kawamura
0
260
メール到達性を支える、リンク先URLのドメイン評価の扱い方
wind111
0
200
Webメール開発を大幅に変えたJMAPというゲームチェンジャー
tascript
9
4.4k
フロントエンドのテストカバレッジは 100%強制がいい
bengo4com
7
2.9k
認知負荷の減らし方 ~開発にも日常業務にも活かせるノウハウ~
minorun365
PRO
17
10k
Metadata - Section 4 : MODS (Metadata Object Description Schema )
mohab1
0
140
RAGの改善を速く回すための評価基盤
yosukeyoshida
6
3.6k
クラウドでも使えるNetApp -現場目線での設計とクラウドバックアップの活用
ryutakondo
1
340
[DBRE Summit 26] DBRE はデータベース運用をどう変えたのか
_awache
0
140
gradle-best-practices 使ってみた
mikanichinose
0
230
「個社」ではなく「業界」の課題を解く AI 対話開発 ー 価値を広げる設計と、価値を守るエンジニアリング ー
ivry_presentationmaterials
4
890
Featured
See All Featured
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
360
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
470
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
690
Leo the Paperboy
mayatellez
11
2.5k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
2
560
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
310
GitHub's CSS Performance
jonrohan
1033
470k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
570
The Art of Programming - Codeland 2020
erikaheidi
57
15k