SlideShare une entreprise Scribd logo
1  sur  64
Télécharger pour lire hors ligne
JENKINS XJENKINS X
automated CI/CD solution for cloud native applications
on Kubernetes
JBUG Korea
@tedwon
https://jenkins-x.io/
1
AT KOREA DEVELPER SEMINARAT KOREA DEVELPER SEMINAR
Saturday, 17th November, 2018
개발자를위한공감세미나: 17번째이야기
2
JENKINS VS JENKIS XJENKINS VS JENKIS X
3
JENKINSJENKINS
https://jenkins.io/
4
JENKINS XJENKINS X
https://jenkins-x.io/
5
JENKINS X - WHAT WE DOJENKINS X - WHAT WE DO
Code change ⇒Pull Request ⇒Review
⇒Merge ⇒Staging ⇒Production
6
WHAT ARE THE NEW CHANGES?WHAT ARE THE NEW CHANGES?
Move from on premise to cloud
Move from BareMetal/VMs to containers
Kubernetes has become the defacto standard
Move from monoliths to microservices
Become high performing teams via CI/CD
7
WHAT ARE THE NEW CHALLENGES?WHAT ARE THE NEW CHALLENGES?
How do I migrate my applications to the cloud?
How do dev teams work with Kubernetes?
What do I need to start developing, building and
deploying?
How can I see my applications log?
8
STARTED BY JAMES STRACHANSTARTED BY JAMES STRACHAN
9
10
STARTED BY JAMES STRACHANSTARTED BY JAMES STRACHAN
Released at March of this year, 2018
Founder of Groovy, Apache ActiveMQ/Camel
https://twitter.com/jstrachan/status/9757967221474
https://goo.gl/ceLcmq
https://github.com/jenkins-x/jx/graphs/contributors
https://www.linkedin.com/in/jstrachan/
https://medium.com/@jstrachan
11
STARTED BY JAMES STRACHANSTARTED BY JAMES STRACHAN
Developed similar project in Red Hat until last year,
2017
gofabric8
https://goo.gl/4re3G7
https://github.com/fabric8io/gofabric8
http://fabric8.io/
12
FEATURES OF JENKINS XFEATURES OF JENKINS X
Automated CI and CD
Environment Promotion via GitOps
Pull Request Preview Environments
Feedback on Issues and Pull Requests
13
SUPPORTED CLOUD PROVIDERSSUPPORTED CLOUD PROVIDERS
Google Container Engine
Red Hat OpenShift
Amazon Elastic Container Service
Azure Container Service
IBM Cloud Kubernetes Service
Oracle Cloud Container Engine
minikube, minishift
https://jenkins-x.io/commands/jx_create_cluster/
14
HOW DOES JENKINS X HELP?HOW DOES JENKINS X HELP?
Jenkins
CI/CD pipeline solution
Nexus
Artifact repository
Package manager for Kubernetes
https://helm.sh
15
HOW DOES JENKINS X HELP?HOW DOES JENKINS X HELP?
Chartmuseum
Helm Chart repository
Monocular
Web UI for helm charts
Build packs to bootstrap applications
Skaffold
Tool for building docker images on kubernetes
https://draft.sh
16
HELM CHARTHELM CHART
Helm Chart is a packaging format.
A chart is a collection of les that describe a related
set of Kubernetes resources.
~/demo/charts/demo(master) » tree .
.
├── Chart.yaml
├── Makefile
├── README.md
├── charts
├── templates
│   ├── NOTES.txt
│   ├── _helpers.tpl
│   ├── deployment.yaml
│   └── service.yaml
└── values.yaml
17
18
19
20
21
22
23
HOW DOES JENKINS X HELP?HOW DOES JENKINS X HELP?
jx open
jenkins http://jenkins.jx.x.x.x.x.nip.io
jenkins-x-chartmuseum http://chartmuseum.jx.x.x.x.x.nip.io
jenkins-x-docker-registry http://docker-registry.jx.x.x.x.x.nip.
jenkins-x-monocular-ui http://monocular.jx.x.x.x.x.nip.io
nexus http://nexus.jx.x.x.x.x.nip.io
24
IMPORT MAVEN PROJECTIMPORT MAVEN PROJECT
25
26
27
28
29
30
ENVIRONMENT PROMOTION VIA GITOPSENVIRONMENT PROMOTION VIA GITOPS
Development Environment
Staging Environment
Production Environment
jx env
? Pick environment: [Use arrows to move, type to filter]
> dev
production
staging
31
32
DEMO & ENVIRONMENT GIT REPOSITORYDEMO & ENVIRONMENT GIT REPOSITORY
33
JX GET APPLICATIONSJX GET APPLICATIONS
34 . 1
34 . 2
JX GET PREVIEWSJX GET PREVIEWS
35 . 1
35 . 2
36
37 . 1
37 . 2
HOW DO WE SETUP KUBERNETES +HOW DO WE SETUP KUBERNETES +
JENKINS X?JENKINS X?
Install the jx command line tool
http://jenkins-x.io/getting-started/install/
macOs:
brew tap jenkins-x/jx
brew install jx
linux:
curl -L https://github.com/jenkins-x/jx/releases/download/v1.3.46
sudo mv jx /usr/local/bin
38
HOW DO WE SETUP KUBERNETES +HOW DO WE SETUP KUBERNETES +
JENKINS X?JENKINS X?
If using the public cloud use:
jx create cluster aws
jx create cluster gke
jx create cluster aks
39
HOW DO WE SETUP KUBERNETES +HOW DO WE SETUP KUBERNETES +
JENKINS X?JENKINS X?
If you have a cluster already - ensure RBAC enabled
then:
jx install --provider=openshift
40
CREATE CLUSTER GKECREATE CLUSTER GKE
Google Container Engine $300 free credit
https://console.cloud.google.com/freetrial
41
42
VSCODE JENKINS X EXTENSIONVSCODE JENKINS X EXTENSION
43
44
DEMODEMO
Creating GKE Kubernetes cluster with Jenkins X
Creating Spring Boot app
Creating code change
Promoting to Production
45
DEMO - DEPLOY SPRING BOOT APPDEMO - DEPLOY SPRING BOOT APP
jx create cluster gke
46
DEMO - DEPLOY SPRING BOOT APPDEMO - DEPLOY SPRING BOOT APP
Create Cluster GKE Record:
https://asciinema.org/a/210859
47
DEMO - DEPLOY SPRING BOOT APPDEMO - DEPLOY SPRING BOOT APP
jx create spring -d web -d actuator
48
DEMO - DEPLOY SPRING BOOT APPDEMO - DEPLOY SPRING BOOT APP
Record:
Automatically set up CI/CD pipelines for new +
imported projects
Setups up git repository
Adds webhooks on git to trigger Jenkins pipelines on
PR / master
Triggers the rst pipeline
https://asciinema.org/a/210872
49
DEMO - JENKINS X ON PULL REQUESTDEMO - JENKINS X ON PULL REQUEST
jx create issue -t 'add a homepage'
git checkout -b wip
vi src/main/resources/static/index.html
git add src
git commit -a -m 'add a homepage fixes #1'
git push origin wip
jx create pullrequest -t "add a homepage fixes #1"
jx get preview
50
DEMO - JENKINS X ON PULL REQUESTDEMO - JENKINS X ON PULL REQUEST
Creates preview docker image + helm chart
Creates a Preview Environment and comments on
the PR with the link
https://github.com/tedwon/demo1030/pull/2
51
DEMO - JENKINS X PROMOTION VIA GITOPSDEMO - JENKINS X PROMOTION VIA GITOPS
jx promote --version 0.0.2 --env production
52
JENKINS X SLACKJENKINS X SLACK
#jenkins-x-user
kubernetes.slack.com
53
54
JENKINS X ROADMAPJENKINS X ROADMAP
https://jenkins-x.io/contribute/roadmap/
55
TRY IT OUT!TRY IT OUT!
JBUG Jenkins X Hands-on
https://jenkins-x.io/getting-started/
https://goo.gl/oBbHxA
https://github.com/tedwon/jenkins-x-slides-tedwon
56
SPECIAL THANKS TOSPECIAL THANKS TO
Jungho Cha < >jcha@redhat.com
57
THANK YOUTHANK YOU
facebook.com/groups/jbossusergroup/
58
SOURCES & REFERENCESSOURCES & REFERENCES
https://docs.google.com/presentation/d/1hwt2lFh3cCeF
https://developer.okta.com/blog/2018/07/11/ci-cd-sprin
https://jenkins.io/blog/2018/03/19/introducing-jenkins
https://www.youtube.com/watch?v=uHe7R_iZSLU
https://jenkins.io/blog/2018/07/19/jenkins-x-accelerate
59
SOURCES & REFERENCESSOURCES & REFERENCES
https://dzone.com/articles/jenkins-x-the-good-bad-
and-ugly
https://blog.octo.com/en/jenkinsx-new-kubernetes-
dream-part-1/
https://www.dropbox.com/s/2l3yudybl8dx4j7/2.pdf?
dl=0
http://www.itworld.co.kr/news/107527
https://www.redhat.com/en/blog/integrating-
ansible-jenkins-cicd-process 60
SOURCES & REFERENCESSOURCES & REFERENCES
JBUG Jenkins X Hands-on
http://woowabros.github.io/experience/2018/06/26/bro
cicd.html
https://dzone.com/articles/what-is-gitops-really
https://jenkins-x.io/developing/git/#using-a-different-gi
provider-for-environments
https://goo.gl/oBbHxA
https://github.com/tedwon/jenkins-x-slides-tedwon
61

Contenu connexe

Tendances

5 Habits of High-Velocity Teams Using Kubernetes
5 Habits of High-Velocity Teams Using Kubernetes5 Habits of High-Velocity Teams Using Kubernetes
5 Habits of High-Velocity Teams Using KubernetesCodefresh
 
GitOps - Operation By Pull Request
GitOps - Operation By Pull RequestGitOps - Operation By Pull Request
GitOps - Operation By Pull RequestKasper Nissen
 
Setting up CI/CD pipeline with Kubernetes and Kublr step-by-step
Setting up CI/CD pipeline with Kubernetes and Kublr step-by-stepSetting up CI/CD pipeline with Kubernetes and Kublr step-by-step
Setting up CI/CD pipeline with Kubernetes and Kublr step-by-stepOleg Chunikhin
 
Docker based-Pipelines with Codefresh
Docker based-Pipelines with CodefreshDocker based-Pipelines with Codefresh
Docker based-Pipelines with CodefreshCodefresh
 
Google ko: fast Kubernetes microservice development in Go - Sangam Biradar, E...
Google ko: fast Kubernetes microservice development in Go - Sangam Biradar, E...Google ko: fast Kubernetes microservice development in Go - Sangam Biradar, E...
Google ko: fast Kubernetes microservice development in Go - Sangam Biradar, E...sangam biradar
 
Introduction of cloud native CI/CD on kubernetes
Introduction of cloud native CI/CD on kubernetesIntroduction of cloud native CI/CD on kubernetes
Introduction of cloud native CI/CD on kubernetesKyohei Mizumoto
 
CI/CD Pipeline mit Gitlab CI und Kubernetes
CI/CD Pipeline mit Gitlab CI und KubernetesCI/CD Pipeline mit Gitlab CI und Kubernetes
CI/CD Pipeline mit Gitlab CI und Kubernetesinovex GmbH
 
Continuous Deployment with Kubernetes, Docker and GitLab CI
Continuous Deployment with Kubernetes, Docker and GitLab CIContinuous Deployment with Kubernetes, Docker and GitLab CI
Continuous Deployment with Kubernetes, Docker and GitLab CIalexanderkiel
 
Continuous Delivery Pipeline with Docker and Jenkins
Continuous Delivery Pipeline with Docker and JenkinsContinuous Delivery Pipeline with Docker and Jenkins
Continuous Delivery Pipeline with Docker and JenkinsCamilo Ribeiro
 
Gitlab ci, cncf.sk
Gitlab ci, cncf.skGitlab ci, cncf.sk
Gitlab ci, cncf.skJuraj Hantak
 
Continuous Delivery with Jenkins & Kubernetes @ Sky
Continuous Delivery with Jenkins & Kubernetes @ SkyContinuous Delivery with Jenkins & Kubernetes @ Sky
Continuous Delivery with Jenkins & Kubernetes @ SkyAdriana Vasiu
 
OPENSHIFT CONTAINER PLATFORM CI/CD Build & Deploy
OPENSHIFT CONTAINER PLATFORM CI/CD Build & DeployOPENSHIFT CONTAINER PLATFORM CI/CD Build & Deploy
OPENSHIFT CONTAINER PLATFORM CI/CD Build & DeployNatale Vinto
 
2016 - Continuously Delivering Microservices in Kubernetes using Jenkins
2016 - Continuously Delivering Microservices in Kubernetes using Jenkins2016 - Continuously Delivering Microservices in Kubernetes using Jenkins
2016 - Continuously Delivering Microservices in Kubernetes using Jenkinsdevopsdaysaustin
 
Why you can't ignore GitLab
Why you can't ignore GitLabWhy you can't ignore GitLab
Why you can't ignore GitLabPivorak MeetUp
 
Docker New York City: From GitOps to a scalable CI/CD Pattern for Kubernetes
Docker New York City: From GitOps to a scalable CI/CD Pattern for KubernetesDocker New York City: From GitOps to a scalable CI/CD Pattern for Kubernetes
Docker New York City: From GitOps to a scalable CI/CD Pattern for KubernetesAndrew Phillips
 
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and ComposeDockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and ComposeDocker, Inc.
 
GitOps and Kubernetes: a radical idea
GitOps and Kubernetes: a radical ideaGitOps and Kubernetes: a radical idea
GitOps and Kubernetes: a radical ideaManning Publications
 
2015 05-06-karsten gaebert-akademie-etrainings
2015 05-06-karsten gaebert-akademie-etrainings2015 05-06-karsten gaebert-akademie-etrainings
2015 05-06-karsten gaebert-akademie-etrainingsHaufe-Lexware GmbH & Co KG
 
KubeCon 2019 - Scaling your cluster (both ways)
KubeCon 2019 - Scaling your cluster (both ways)KubeCon 2019 - Scaling your cluster (both ways)
KubeCon 2019 - Scaling your cluster (both ways)Patrick Chanezon
 

Tendances (20)

5 Habits of High-Velocity Teams Using Kubernetes
5 Habits of High-Velocity Teams Using Kubernetes5 Habits of High-Velocity Teams Using Kubernetes
5 Habits of High-Velocity Teams Using Kubernetes
 
GitOps - Operation By Pull Request
GitOps - Operation By Pull RequestGitOps - Operation By Pull Request
GitOps - Operation By Pull Request
 
Setting up CI/CD pipeline with Kubernetes and Kublr step-by-step
Setting up CI/CD pipeline with Kubernetes and Kublr step-by-stepSetting up CI/CD pipeline with Kubernetes and Kublr step-by-step
Setting up CI/CD pipeline with Kubernetes and Kublr step-by-step
 
Docker based-Pipelines with Codefresh
Docker based-Pipelines with CodefreshDocker based-Pipelines with Codefresh
Docker based-Pipelines with Codefresh
 
Google ko: fast Kubernetes microservice development in Go - Sangam Biradar, E...
Google ko: fast Kubernetes microservice development in Go - Sangam Biradar, E...Google ko: fast Kubernetes microservice development in Go - Sangam Biradar, E...
Google ko: fast Kubernetes microservice development in Go - Sangam Biradar, E...
 
Introduction of cloud native CI/CD on kubernetes
Introduction of cloud native CI/CD on kubernetesIntroduction of cloud native CI/CD on kubernetes
Introduction of cloud native CI/CD on kubernetes
 
CI/CD Pipeline mit Gitlab CI und Kubernetes
CI/CD Pipeline mit Gitlab CI und KubernetesCI/CD Pipeline mit Gitlab CI und Kubernetes
CI/CD Pipeline mit Gitlab CI und Kubernetes
 
Continuous Deployment with Kubernetes, Docker and GitLab CI
Continuous Deployment with Kubernetes, Docker and GitLab CIContinuous Deployment with Kubernetes, Docker and GitLab CI
Continuous Deployment with Kubernetes, Docker and GitLab CI
 
Continuous Delivery Pipeline with Docker and Jenkins
Continuous Delivery Pipeline with Docker and JenkinsContinuous Delivery Pipeline with Docker and Jenkins
Continuous Delivery Pipeline with Docker and Jenkins
 
GitLab - Java User Group
GitLab - Java User GroupGitLab - Java User Group
GitLab - Java User Group
 
Gitlab ci, cncf.sk
Gitlab ci, cncf.skGitlab ci, cncf.sk
Gitlab ci, cncf.sk
 
Continuous Delivery with Jenkins & Kubernetes @ Sky
Continuous Delivery with Jenkins & Kubernetes @ SkyContinuous Delivery with Jenkins & Kubernetes @ Sky
Continuous Delivery with Jenkins & Kubernetes @ Sky
 
OPENSHIFT CONTAINER PLATFORM CI/CD Build & Deploy
OPENSHIFT CONTAINER PLATFORM CI/CD Build & DeployOPENSHIFT CONTAINER PLATFORM CI/CD Build & Deploy
OPENSHIFT CONTAINER PLATFORM CI/CD Build & Deploy
 
2016 - Continuously Delivering Microservices in Kubernetes using Jenkins
2016 - Continuously Delivering Microservices in Kubernetes using Jenkins2016 - Continuously Delivering Microservices in Kubernetes using Jenkins
2016 - Continuously Delivering Microservices in Kubernetes using Jenkins
 
Why you can't ignore GitLab
Why you can't ignore GitLabWhy you can't ignore GitLab
Why you can't ignore GitLab
 
Docker New York City: From GitOps to a scalable CI/CD Pattern for Kubernetes
Docker New York City: From GitOps to a scalable CI/CD Pattern for KubernetesDocker New York City: From GitOps to a scalable CI/CD Pattern for Kubernetes
Docker New York City: From GitOps to a scalable CI/CD Pattern for Kubernetes
 
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and ComposeDockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
 
GitOps and Kubernetes: a radical idea
GitOps and Kubernetes: a radical ideaGitOps and Kubernetes: a radical idea
GitOps and Kubernetes: a radical idea
 
2015 05-06-karsten gaebert-akademie-etrainings
2015 05-06-karsten gaebert-akademie-etrainings2015 05-06-karsten gaebert-akademie-etrainings
2015 05-06-karsten gaebert-akademie-etrainings
 
KubeCon 2019 - Scaling your cluster (both ways)
KubeCon 2019 - Scaling your cluster (both ways)KubeCon 2019 - Scaling your cluster (both ways)
KubeCon 2019 - Scaling your cluster (both ways)
 

Similaire à Jenkins X - automated CI/CD solution for cloud native applications on Kubernetes

Kubernetes laravel and kubernetes
Kubernetes   laravel and kubernetesKubernetes   laravel and kubernetes
Kubernetes laravel and kubernetesWilliam Stewart
 
Introduction to Jenkins X - a beginner's guide
Introduction to Jenkins X - a beginner's guideIntroduction to Jenkins X - a beginner's guide
Introduction to Jenkins X - a beginner's guideAndrew Bayer
 
Lessons learned using GitOps
Lessons learned using GitOpsLessons learned using GitOps
Lessons learned using GitOpsEdgaras Apšega
 
2015 DockerCon Using Docker in production at bity.com
2015 DockerCon Using Docker in production at bity.com2015 DockerCon Using Docker in production at bity.com
2015 DockerCon Using Docker in production at bity.comMathieu Buffenoir
 
Using Docker For Development
Using Docker For DevelopmentUsing Docker For Development
Using Docker For DevelopmentLaura Frank Tacho
 
Be a better developer with Docker (revision 3)
Be a better developer with Docker (revision 3)Be a better developer with Docker (revision 3)
Be a better developer with Docker (revision 3)Nicola Paolucci
 
Running CI/CD with VMWare Cloud PKS and Jenkins X
Running CI/CD with VMWare Cloud PKS and Jenkins XRunning CI/CD with VMWare Cloud PKS and Jenkins X
Running CI/CD with VMWare Cloud PKS and Jenkins XCojan van Ballegooijen
 
Environment management in a continuous delivery world (3)
Environment management in a continuous delivery world (3)Environment management in a continuous delivery world (3)
Environment management in a continuous delivery world (3)Victor Iglesias
 
DockerCon EU 2015: Trading Bitcoin with Docker
DockerCon EU 2015: Trading Bitcoin with DockerDockerCon EU 2015: Trading Bitcoin with Docker
DockerCon EU 2015: Trading Bitcoin with DockerDocker, Inc.
 
CI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
CI/CD with Jenkins and Docker - DevOps Meetup Day ThailandCI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
CI/CD with Jenkins and Docker - DevOps Meetup Day ThailandTroublemaker Khunpech
 
DCEU 18: Developing with Docker Containers
DCEU 18: Developing with Docker ContainersDCEU 18: Developing with Docker Containers
DCEU 18: Developing with Docker ContainersDocker, Inc.
 
'DOCKER' & CLOUD: ENABLERS For DEVOPS
'DOCKER' & CLOUD:  ENABLERS For DEVOPS'DOCKER' & CLOUD:  ENABLERS For DEVOPS
'DOCKER' & CLOUD: ENABLERS For DEVOPSACA IT-Solutions
 
Docker and Cloud - Enables for DevOps - by ACA-IT
Docker and Cloud - Enables for DevOps - by ACA-ITDocker and Cloud - Enables for DevOps - by ACA-IT
Docker and Cloud - Enables for DevOps - by ACA-ITStijn Wijndaele
 
Gitlab ci e kubernetes, build test and deploy your projects like a pro
Gitlab ci e kubernetes, build test and deploy your projects like a proGitlab ci e kubernetes, build test and deploy your projects like a pro
Gitlab ci e kubernetes, build test and deploy your projects like a prosparkfabrik
 
Real-World Docker: 10 Things We've Learned
Real-World Docker: 10 Things We've Learned  Real-World Docker: 10 Things We've Learned
Real-World Docker: 10 Things We've Learned RightScale
 
Docker Dhahran November 2017 meetup
Docker Dhahran November 2017 meetupDocker Dhahran November 2017 meetup
Docker Dhahran November 2017 meetupWalid Shaari
 
Simplifying and accelerating converged media with Open Visual Cloud
Simplifying and accelerating converged media with Open Visual CloudSimplifying and accelerating converged media with Open Visual Cloud
Simplifying and accelerating converged media with Open Visual CloudLiz Warner
 
Ultimate Survival - React-Native edition
Ultimate Survival - React-Native editionUltimate Survival - React-Native edition
Ultimate Survival - React-Native editionRichard Radics
 

Similaire à Jenkins X - automated CI/CD solution for cloud native applications on Kubernetes (20)

Jenkins x gitops
Jenkins x gitopsJenkins x gitops
Jenkins x gitops
 
Kubernetes laravel and kubernetes
Kubernetes   laravel and kubernetesKubernetes   laravel and kubernetes
Kubernetes laravel and kubernetes
 
Introduction to Jenkins X - a beginner's guide
Introduction to Jenkins X - a beginner's guideIntroduction to Jenkins X - a beginner's guide
Introduction to Jenkins X - a beginner's guide
 
Lessons learned using GitOps
Lessons learned using GitOpsLessons learned using GitOps
Lessons learned using GitOps
 
2015 DockerCon Using Docker in production at bity.com
2015 DockerCon Using Docker in production at bity.com2015 DockerCon Using Docker in production at bity.com
2015 DockerCon Using Docker in production at bity.com
 
Using Docker For Development
Using Docker For DevelopmentUsing Docker For Development
Using Docker For Development
 
Be a better developer with Docker (revision 3)
Be a better developer with Docker (revision 3)Be a better developer with Docker (revision 3)
Be a better developer with Docker (revision 3)
 
Running CI/CD with VMWare Cloud PKS and Jenkins X
Running CI/CD with VMWare Cloud PKS and Jenkins XRunning CI/CD with VMWare Cloud PKS and Jenkins X
Running CI/CD with VMWare Cloud PKS and Jenkins X
 
Environment management in a continuous delivery world (3)
Environment management in a continuous delivery world (3)Environment management in a continuous delivery world (3)
Environment management in a continuous delivery world (3)
 
DockerCon EU 2015: Trading Bitcoin with Docker
DockerCon EU 2015: Trading Bitcoin with DockerDockerCon EU 2015: Trading Bitcoin with Docker
DockerCon EU 2015: Trading Bitcoin with Docker
 
CI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
CI/CD with Jenkins and Docker - DevOps Meetup Day ThailandCI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
CI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
 
DCEU 18: Developing with Docker Containers
DCEU 18: Developing with Docker ContainersDCEU 18: Developing with Docker Containers
DCEU 18: Developing with Docker Containers
 
kubernetes for beginners
kubernetes for beginnerskubernetes for beginners
kubernetes for beginners
 
'DOCKER' & CLOUD: ENABLERS For DEVOPS
'DOCKER' & CLOUD:  ENABLERS For DEVOPS'DOCKER' & CLOUD:  ENABLERS For DEVOPS
'DOCKER' & CLOUD: ENABLERS For DEVOPS
 
Docker and Cloud - Enables for DevOps - by ACA-IT
Docker and Cloud - Enables for DevOps - by ACA-ITDocker and Cloud - Enables for DevOps - by ACA-IT
Docker and Cloud - Enables for DevOps - by ACA-IT
 
Gitlab ci e kubernetes, build test and deploy your projects like a pro
Gitlab ci e kubernetes, build test and deploy your projects like a proGitlab ci e kubernetes, build test and deploy your projects like a pro
Gitlab ci e kubernetes, build test and deploy your projects like a pro
 
Real-World Docker: 10 Things We've Learned
Real-World Docker: 10 Things We've Learned  Real-World Docker: 10 Things We've Learned
Real-World Docker: 10 Things We've Learned
 
Docker Dhahran November 2017 meetup
Docker Dhahran November 2017 meetupDocker Dhahran November 2017 meetup
Docker Dhahran November 2017 meetup
 
Simplifying and accelerating converged media with Open Visual Cloud
Simplifying and accelerating converged media with Open Visual CloudSimplifying and accelerating converged media with Open Visual Cloud
Simplifying and accelerating converged media with Open Visual Cloud
 
Ultimate Survival - React-Native edition
Ultimate Survival - React-Native editionUltimate Survival - React-Native edition
Ultimate Survival - React-Native edition
 

Plus de Ted Won

Undertow RequestBufferingHandler 소개
Undertow RequestBufferingHandler 소개Undertow RequestBufferingHandler 소개
Undertow RequestBufferingHandler 소개Ted Won
 
JBoss EAP 7 & JDG 7 최신 기술 소개
JBoss EAP 7 & JDG 7 최신 기술 소개JBoss EAP 7 & JDG 7 최신 기술 소개
JBoss EAP 7 & JDG 7 최신 기술 소개Ted Won
 
JBoss Modules Internal
JBoss Modules InternalJBoss Modules Internal
JBoss Modules InternalTed Won
 
오픈 소스 컨트리뷰션 가이드
오픈 소스 컨트리뷰션 가이드오픈 소스 컨트리뷰션 가이드
오픈 소스 컨트리뷰션 가이드Ted Won
 
Hawkular overview
Hawkular overviewHawkular overview
Hawkular overviewTed Won
 
Complex Event Processing with Esper
Complex Event Processing with EsperComplex Event Processing with Esper
Complex Event Processing with EsperTed Won
 
JDG 7 & Spark Integration
JDG 7 & Spark IntegrationJDG 7 & Spark Integration
JDG 7 & Spark IntegrationTed Won
 
지금 핫한 Real-time In-memory Stream Processing 이야기
지금 핫한 Real-time In-memory Stream Processing 이야기지금 핫한 Real-time In-memory Stream Processing 이야기
지금 핫한 Real-time In-memory Stream Processing 이야기Ted Won
 
Nara - Personalized Web Recommendation Service Quick Review
Nara - Personalized Web Recommendation Service Quick ReviewNara - Personalized Web Recommendation Service Quick Review
Nara - Personalized Web Recommendation Service Quick ReviewTed Won
 
JBoss Community's Application Monitoring Platform
JBoss Community's Application Monitoring PlatformJBoss Community's Application Monitoring Platform
JBoss Community's Application Monitoring PlatformTed Won
 
Real-time Big Data Analytics Practice with Unstructured Data
Real-time Big Data Analytics Practice with Unstructured DataReal-time Big Data Analytics Practice with Unstructured Data
Real-time Big Data Analytics Practice with Unstructured DataTed Won
 
Red Hat Forum 2012 - JBoss RHQ - Java Application Monitoring & Management Pla...
Red Hat Forum 2012 - JBoss RHQ - Java Application Monitoring & Management Pla...Red Hat Forum 2012 - JBoss RHQ - Java Application Monitoring & Management Pla...
Red Hat Forum 2012 - JBoss RHQ - Java Application Monitoring & Management Pla...Ted Won
 
Building Real-time CEP Application with Open Source Projects
Building Real-time CEP Application with Open Source Projects Building Real-time CEP Application with Open Source Projects
Building Real-time CEP Application with Open Source Projects Ted Won
 
JCO 11th 클라우드 환경에서 Java EE 운영 환경 구축하기
JCO 11th 클라우드 환경에서 Java EE 운영 환경 구축하기JCO 11th 클라우드 환경에서 Java EE 운영 환경 구축하기
JCO 11th 클라우드 환경에서 Java EE 운영 환경 구축하기Ted Won
 
JBoss RHQ와 Byteman을 이용한 오픈소스 자바 애플리케이션 모니터링
JBoss RHQ와 Byteman을 이용한 오픈소스 자바 애플리케이션 모니터링JBoss RHQ와 Byteman을 이용한 오픈소스 자바 애플리케이션 모니터링
JBoss RHQ와 Byteman을 이용한 오픈소스 자바 애플리케이션 모니터링Ted Won
 
RHQ 공감 Seminar 6th
RHQ 공감 Seminar 6thRHQ 공감 Seminar 6th
RHQ 공감 Seminar 6thTed Won
 
Complex Event Processing with Esper
Complex Event Processing with EsperComplex Event Processing with Esper
Complex Event Processing with EsperTed Won
 

Plus de Ted Won (17)

Undertow RequestBufferingHandler 소개
Undertow RequestBufferingHandler 소개Undertow RequestBufferingHandler 소개
Undertow RequestBufferingHandler 소개
 
JBoss EAP 7 & JDG 7 최신 기술 소개
JBoss EAP 7 & JDG 7 최신 기술 소개JBoss EAP 7 & JDG 7 최신 기술 소개
JBoss EAP 7 & JDG 7 최신 기술 소개
 
JBoss Modules Internal
JBoss Modules InternalJBoss Modules Internal
JBoss Modules Internal
 
오픈 소스 컨트리뷰션 가이드
오픈 소스 컨트리뷰션 가이드오픈 소스 컨트리뷰션 가이드
오픈 소스 컨트리뷰션 가이드
 
Hawkular overview
Hawkular overviewHawkular overview
Hawkular overview
 
Complex Event Processing with Esper
Complex Event Processing with EsperComplex Event Processing with Esper
Complex Event Processing with Esper
 
JDG 7 & Spark Integration
JDG 7 & Spark IntegrationJDG 7 & Spark Integration
JDG 7 & Spark Integration
 
지금 핫한 Real-time In-memory Stream Processing 이야기
지금 핫한 Real-time In-memory Stream Processing 이야기지금 핫한 Real-time In-memory Stream Processing 이야기
지금 핫한 Real-time In-memory Stream Processing 이야기
 
Nara - Personalized Web Recommendation Service Quick Review
Nara - Personalized Web Recommendation Service Quick ReviewNara - Personalized Web Recommendation Service Quick Review
Nara - Personalized Web Recommendation Service Quick Review
 
JBoss Community's Application Monitoring Platform
JBoss Community's Application Monitoring PlatformJBoss Community's Application Monitoring Platform
JBoss Community's Application Monitoring Platform
 
Real-time Big Data Analytics Practice with Unstructured Data
Real-time Big Data Analytics Practice with Unstructured DataReal-time Big Data Analytics Practice with Unstructured Data
Real-time Big Data Analytics Practice with Unstructured Data
 
Red Hat Forum 2012 - JBoss RHQ - Java Application Monitoring & Management Pla...
Red Hat Forum 2012 - JBoss RHQ - Java Application Monitoring & Management Pla...Red Hat Forum 2012 - JBoss RHQ - Java Application Monitoring & Management Pla...
Red Hat Forum 2012 - JBoss RHQ - Java Application Monitoring & Management Pla...
 
Building Real-time CEP Application with Open Source Projects
Building Real-time CEP Application with Open Source Projects Building Real-time CEP Application with Open Source Projects
Building Real-time CEP Application with Open Source Projects
 
JCO 11th 클라우드 환경에서 Java EE 운영 환경 구축하기
JCO 11th 클라우드 환경에서 Java EE 운영 환경 구축하기JCO 11th 클라우드 환경에서 Java EE 운영 환경 구축하기
JCO 11th 클라우드 환경에서 Java EE 운영 환경 구축하기
 
JBoss RHQ와 Byteman을 이용한 오픈소스 자바 애플리케이션 모니터링
JBoss RHQ와 Byteman을 이용한 오픈소스 자바 애플리케이션 모니터링JBoss RHQ와 Byteman을 이용한 오픈소스 자바 애플리케이션 모니터링
JBoss RHQ와 Byteman을 이용한 오픈소스 자바 애플리케이션 모니터링
 
RHQ 공감 Seminar 6th
RHQ 공감 Seminar 6thRHQ 공감 Seminar 6th
RHQ 공감 Seminar 6th
 
Complex Event Processing with Esper
Complex Event Processing with EsperComplex Event Processing with Esper
Complex Event Processing with Esper
 

Dernier

Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAshyamraj55
 
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online CollaborationCOMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online Collaborationbruanjhuli
 
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataCloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataSafe Software
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UbiTrack UK
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024SkyPlanner
 
GenAI and AI GCC State of AI_Object Automation Inc
GenAI and AI GCC State of AI_Object Automation IncGenAI and AI GCC State of AI_Object Automation Inc
GenAI and AI GCC State of AI_Object Automation IncObject Automation
 
Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxGDSC PJATK
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesMd Hossain Ali
 
Digital magic. A small project for controlling smart light bulbs.
Digital magic. A small project for controlling smart light bulbs.Digital magic. A small project for controlling smart light bulbs.
Digital magic. A small project for controlling smart light bulbs.francesco barbera
 
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a WebsiteCOMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Websitedgelyza
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationIES VE
 
PicPay - GenAI Finance Assistant - ChatGPT for Customer Service
PicPay - GenAI Finance Assistant - ChatGPT for Customer ServicePicPay - GenAI Finance Assistant - ChatGPT for Customer Service
PicPay - GenAI Finance Assistant - ChatGPT for Customer ServiceRenan Moreira de Oliveira
 
RAG Patterns and Vector Search in Generative AI
RAG Patterns and Vector Search in Generative AIRAG Patterns and Vector Search in Generative AI
RAG Patterns and Vector Search in Generative AIUdaiappa Ramachandran
 
Introduction to Quantum Computing
Introduction to Quantum ComputingIntroduction to Quantum Computing
Introduction to Quantum ComputingGDSC PJATK
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.YounusS2
 
NIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopNIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopBachir Benyammi
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureEric D. Schabell
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfDianaGray10
 
Do we need a new standard for visualizing the invisible?
Do we need a new standard for visualizing the invisible?Do we need a new standard for visualizing the invisible?
Do we need a new standard for visualizing the invisible?SANGHEE SHIN
 
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1DianaGray10
 

Dernier (20)

Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
 
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online CollaborationCOMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
 
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataCloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024
 
GenAI and AI GCC State of AI_Object Automation Inc
GenAI and AI GCC State of AI_Object Automation IncGenAI and AI GCC State of AI_Object Automation Inc
GenAI and AI GCC State of AI_Object Automation Inc
 
Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptx
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
 
Digital magic. A small project for controlling smart light bulbs.
Digital magic. A small project for controlling smart light bulbs.Digital magic. A small project for controlling smart light bulbs.
Digital magic. A small project for controlling smart light bulbs.
 
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a WebsiteCOMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Website
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
 
PicPay - GenAI Finance Assistant - ChatGPT for Customer Service
PicPay - GenAI Finance Assistant - ChatGPT for Customer ServicePicPay - GenAI Finance Assistant - ChatGPT for Customer Service
PicPay - GenAI Finance Assistant - ChatGPT for Customer Service
 
RAG Patterns and Vector Search in Generative AI
RAG Patterns and Vector Search in Generative AIRAG Patterns and Vector Search in Generative AI
RAG Patterns and Vector Search in Generative AI
 
Introduction to Quantum Computing
Introduction to Quantum ComputingIntroduction to Quantum Computing
Introduction to Quantum Computing
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.
 
NIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopNIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 Workshop
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability Adventure
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
 
Do we need a new standard for visualizing the invisible?
Do we need a new standard for visualizing the invisible?Do we need a new standard for visualizing the invisible?
Do we need a new standard for visualizing the invisible?
 
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
 

Jenkins X - automated CI/CD solution for cloud native applications on Kubernetes

  • 1. JENKINS XJENKINS X automated CI/CD solution for cloud native applications on Kubernetes JBUG Korea @tedwon https://jenkins-x.io/ 1
  • 2. AT KOREA DEVELPER SEMINARAT KOREA DEVELPER SEMINAR Saturday, 17th November, 2018 개발자를위한공감세미나: 17번째이야기 2
  • 3. JENKINS VS JENKIS XJENKINS VS JENKIS X 3
  • 6. JENKINS X - WHAT WE DOJENKINS X - WHAT WE DO Code change ⇒Pull Request ⇒Review ⇒Merge ⇒Staging ⇒Production 6
  • 7. WHAT ARE THE NEW CHANGES?WHAT ARE THE NEW CHANGES? Move from on premise to cloud Move from BareMetal/VMs to containers Kubernetes has become the defacto standard Move from monoliths to microservices Become high performing teams via CI/CD 7
  • 8. WHAT ARE THE NEW CHALLENGES?WHAT ARE THE NEW CHALLENGES? How do I migrate my applications to the cloud? How do dev teams work with Kubernetes? What do I need to start developing, building and deploying? How can I see my applications log? 8
  • 9. STARTED BY JAMES STRACHANSTARTED BY JAMES STRACHAN 9
  • 10. 10
  • 11. STARTED BY JAMES STRACHANSTARTED BY JAMES STRACHAN Released at March of this year, 2018 Founder of Groovy, Apache ActiveMQ/Camel https://twitter.com/jstrachan/status/9757967221474 https://goo.gl/ceLcmq https://github.com/jenkins-x/jx/graphs/contributors https://www.linkedin.com/in/jstrachan/ https://medium.com/@jstrachan 11
  • 12. STARTED BY JAMES STRACHANSTARTED BY JAMES STRACHAN Developed similar project in Red Hat until last year, 2017 gofabric8 https://goo.gl/4re3G7 https://github.com/fabric8io/gofabric8 http://fabric8.io/ 12
  • 13. FEATURES OF JENKINS XFEATURES OF JENKINS X Automated CI and CD Environment Promotion via GitOps Pull Request Preview Environments Feedback on Issues and Pull Requests 13
  • 14. SUPPORTED CLOUD PROVIDERSSUPPORTED CLOUD PROVIDERS Google Container Engine Red Hat OpenShift Amazon Elastic Container Service Azure Container Service IBM Cloud Kubernetes Service Oracle Cloud Container Engine minikube, minishift https://jenkins-x.io/commands/jx_create_cluster/ 14
  • 15. HOW DOES JENKINS X HELP?HOW DOES JENKINS X HELP? Jenkins CI/CD pipeline solution Nexus Artifact repository Package manager for Kubernetes https://helm.sh 15
  • 16. HOW DOES JENKINS X HELP?HOW DOES JENKINS X HELP? Chartmuseum Helm Chart repository Monocular Web UI for helm charts Build packs to bootstrap applications Skaffold Tool for building docker images on kubernetes https://draft.sh 16
  • 17. HELM CHARTHELM CHART Helm Chart is a packaging format. A chart is a collection of les that describe a related set of Kubernetes resources. ~/demo/charts/demo(master) » tree . . ├── Chart.yaml ├── Makefile ├── README.md ├── charts ├── templates │   ├── NOTES.txt │   ├── _helpers.tpl │   ├── deployment.yaml │   └── service.yaml └── values.yaml 17
  • 18. 18
  • 19. 19
  • 20. 20
  • 21. 21
  • 22. 22
  • 23. 23
  • 24. HOW DOES JENKINS X HELP?HOW DOES JENKINS X HELP? jx open jenkins http://jenkins.jx.x.x.x.x.nip.io jenkins-x-chartmuseum http://chartmuseum.jx.x.x.x.x.nip.io jenkins-x-docker-registry http://docker-registry.jx.x.x.x.x.nip. jenkins-x-monocular-ui http://monocular.jx.x.x.x.x.nip.io nexus http://nexus.jx.x.x.x.x.nip.io 24
  • 25. IMPORT MAVEN PROJECTIMPORT MAVEN PROJECT 25
  • 26. 26
  • 27. 27
  • 28. 28
  • 29. 29
  • 30. 30
  • 31. ENVIRONMENT PROMOTION VIA GITOPSENVIRONMENT PROMOTION VIA GITOPS Development Environment Staging Environment Production Environment jx env ? Pick environment: [Use arrows to move, type to filter] > dev production staging 31
  • 32. 32
  • 33. DEMO & ENVIRONMENT GIT REPOSITORYDEMO & ENVIRONMENT GIT REPOSITORY 33
  • 34. JX GET APPLICATIONSJX GET APPLICATIONS 34 . 1
  • 36. JX GET PREVIEWSJX GET PREVIEWS 35 . 1
  • 38. 36
  • 41. HOW DO WE SETUP KUBERNETES +HOW DO WE SETUP KUBERNETES + JENKINS X?JENKINS X? Install the jx command line tool http://jenkins-x.io/getting-started/install/ macOs: brew tap jenkins-x/jx brew install jx linux: curl -L https://github.com/jenkins-x/jx/releases/download/v1.3.46 sudo mv jx /usr/local/bin 38
  • 42. HOW DO WE SETUP KUBERNETES +HOW DO WE SETUP KUBERNETES + JENKINS X?JENKINS X? If using the public cloud use: jx create cluster aws jx create cluster gke jx create cluster aks 39
  • 43. HOW DO WE SETUP KUBERNETES +HOW DO WE SETUP KUBERNETES + JENKINS X?JENKINS X? If you have a cluster already - ensure RBAC enabled then: jx install --provider=openshift 40
  • 44. CREATE CLUSTER GKECREATE CLUSTER GKE Google Container Engine $300 free credit https://console.cloud.google.com/freetrial 41
  • 45. 42
  • 46. VSCODE JENKINS X EXTENSIONVSCODE JENKINS X EXTENSION 43
  • 47. 44
  • 48. DEMODEMO Creating GKE Kubernetes cluster with Jenkins X Creating Spring Boot app Creating code change Promoting to Production 45
  • 49. DEMO - DEPLOY SPRING BOOT APPDEMO - DEPLOY SPRING BOOT APP jx create cluster gke 46
  • 50. DEMO - DEPLOY SPRING BOOT APPDEMO - DEPLOY SPRING BOOT APP Create Cluster GKE Record: https://asciinema.org/a/210859 47
  • 51. DEMO - DEPLOY SPRING BOOT APPDEMO - DEPLOY SPRING BOOT APP jx create spring -d web -d actuator 48
  • 52. DEMO - DEPLOY SPRING BOOT APPDEMO - DEPLOY SPRING BOOT APP Record: Automatically set up CI/CD pipelines for new + imported projects Setups up git repository Adds webhooks on git to trigger Jenkins pipelines on PR / master Triggers the rst pipeline https://asciinema.org/a/210872 49
  • 53. DEMO - JENKINS X ON PULL REQUESTDEMO - JENKINS X ON PULL REQUEST jx create issue -t 'add a homepage' git checkout -b wip vi src/main/resources/static/index.html git add src git commit -a -m 'add a homepage fixes #1' git push origin wip jx create pullrequest -t "add a homepage fixes #1" jx get preview 50
  • 54. DEMO - JENKINS X ON PULL REQUESTDEMO - JENKINS X ON PULL REQUEST Creates preview docker image + helm chart Creates a Preview Environment and comments on the PR with the link https://github.com/tedwon/demo1030/pull/2 51
  • 55. DEMO - JENKINS X PROMOTION VIA GITOPSDEMO - JENKINS X PROMOTION VIA GITOPS jx promote --version 0.0.2 --env production 52
  • 56. JENKINS X SLACKJENKINS X SLACK #jenkins-x-user kubernetes.slack.com 53
  • 57. 54
  • 58. JENKINS X ROADMAPJENKINS X ROADMAP https://jenkins-x.io/contribute/roadmap/ 55
  • 59. TRY IT OUT!TRY IT OUT! JBUG Jenkins X Hands-on https://jenkins-x.io/getting-started/ https://goo.gl/oBbHxA https://github.com/tedwon/jenkins-x-slides-tedwon 56
  • 60. SPECIAL THANKS TOSPECIAL THANKS TO Jungho Cha < >jcha@redhat.com 57
  • 62. SOURCES & REFERENCESSOURCES & REFERENCES https://docs.google.com/presentation/d/1hwt2lFh3cCeF https://developer.okta.com/blog/2018/07/11/ci-cd-sprin https://jenkins.io/blog/2018/03/19/introducing-jenkins https://www.youtube.com/watch?v=uHe7R_iZSLU https://jenkins.io/blog/2018/07/19/jenkins-x-accelerate 59
  • 63. SOURCES & REFERENCESSOURCES & REFERENCES https://dzone.com/articles/jenkins-x-the-good-bad- and-ugly https://blog.octo.com/en/jenkinsx-new-kubernetes- dream-part-1/ https://www.dropbox.com/s/2l3yudybl8dx4j7/2.pdf? dl=0 http://www.itworld.co.kr/news/107527 https://www.redhat.com/en/blog/integrating- ansible-jenkins-cicd-process 60
  • 64. SOURCES & REFERENCESSOURCES & REFERENCES JBUG Jenkins X Hands-on http://woowabros.github.io/experience/2018/06/26/bro cicd.html https://dzone.com/articles/what-is-gitops-really https://jenkins-x.io/developing/git/#using-a-different-gi provider-for-environments https://goo.gl/oBbHxA https://github.com/tedwon/jenkins-x-slides-tedwon 61