Slide 1

Slide 1 text

Jenkins On Kubernetes

Slide 2

Slide 2 text

We all want to be High Performing Teams !

Slide 3

Slide 3 text

Development teams need to figure out : ● How to do microservices well ? ● How to do Kubernetes well ? ● How to do cloud well ? ● How to automate CI / CD ? ● A LOT OF STUFF !

Slide 4

Slide 4 text

Introducing Jenkins X

Slide 5

Slide 5 text

Jenkins X ● Built on Jenkins foundations, recharges it — doesn’t replace it. ● Rethinks how developers should interact with CI/CD in the cloud through automation, tooling and DevOps best practices. ● Understands clouds and Kubernetes natively. You no longer need to play around with Kubernetes setup in Jenkinsfile ● Build for modern cloud with modern development practices

Slide 6

Slide 6 text

How does Jenkins X help ? ● Automates the setup : tools + environment ○ Jenkins, nexus, helm, skaffold ● Automates CI/CD for your applications on Kubernetes ○ Docker Images ○ Helm charts ○ Pipelines

Slide 7

Slide 7 text

● Use GitOps to manage promotion between environments ○ Test -> Staging -> Production ○ Configuration stored in Git ● Lots of Feedback ○ E.g commenting on issue as they hit staging + Production

Slide 8

Slide 8 text

What does Jenkins X give me? ● Development Tools Environment ○ Jenkins master ○ Elastic pool of Kubernetes build pods ● Staging Environment ● Production Environment ● CI/CD configured out of the box

Slide 9

Slide 9 text

How can we use Jenkins X? ● With existing cluster: ○ jx boot ● With a Jenkins X managed kubernetes cluster: ○ jx create cluster gke --skip-login ● You can use any Kubernetes provider such as AWS EKS, OpenShift, or your own handmade cluster.

Slide 10

Slide 10 text

Using Jenkins X for Projects ● Import existing projects using ○ jx import ○ Creates a Dockerfile, Jenkinsfile, Helm charts and configures build packs for deployment ● Create new projects with ○ jx create quickstart

Slide 11

Slide 11 text

● This will setup a new project with Jenkins X configured. Changes will automatically go into the staging environment ● Once you are happy, promote the build to production ○ jx promote ● Comment on PRs, merging will finalize the deployment! ● Profit!

Slide 12

Slide 12 text

Advanced Strategies ● GitOps ● Canary deployments ● Staged rollouts ● Blue Green deployments

Slide 13

Slide 13 text

Comparing Traditional CI/CD to Jenkins X Jenkins ● Holistic, makes no assumption on what's running ● Familiar ● Straightforward Jenkins X ● Opinionated. Brings a host of baggage ● Paradigm shift. Needs you to rethink what you do with your project; configure build-packs etc

Slide 14

Slide 14 text

Thank You