GitOps, Jenkins & Jenkins X Tracy Miranda, Director of Open - - PowerPoint PPT Presentation

gitops jenkins jenkins x
SMART_READER_LITE
LIVE PREVIEW

GitOps, Jenkins & Jenkins X Tracy Miranda, Director of Open - - PowerPoint PPT Presentation

GitOps, Jenkins & Jenkins X Tracy Miranda, Director of Open Source Community | CloudBees tmiranda@cloudbees.com | @tracymiranda @tracymiranda What is DevOps? @tracymiranda DevOps is the new legacy @tracymiranda Cloud Native


slide-1
SLIDE 1

GitOps, Jenkins & Jenkins X

Tracy Miranda, Director of Open Source Community | CloudBees tmiranda@cloudbees.com | @tracymiranda

@tracymiranda

slide-2
SLIDE 2

What is DevOps?

@tracymiranda

slide-3
SLIDE 3

DevOps is the new legacy

@tracymiranda

slide-4
SLIDE 4

Cloud Native Technologies

  • On demand self-service
  • Broad network access
  • Resource pooling
  • Rapid elasticity
  • Measured service
slide-5
SLIDE 5

DORA State

  • f DevOps

Reports

@tracymiranda

slide-6
SLIDE 6

The Science of Lean Software and DevOps

@tracymiranda

slide-7
SLIDE 7

Building and scaling high performance technology organisations

@tracymiranda

Throughput

Frequent deployments Low lead time from commit to deploy

Stability

Fast mean time to recovery (MTTR) Low change failure rate

slide-8
SLIDE 8

GitOps

@tracymiranda

Operation by pull request Git as the single place where we operate All changes are

  • bservable
slide-9
SLIDE 9

https://www.weave.works/blog/what-is-gitops-really

@tracymiranda

slide-10
SLIDE 10

@tracymiranda

slide-11
SLIDE 11

Jenkins

@tracymiranda

slide-12
SLIDE 12

JENKINS PIPELINE JENKINS EVERGREEN CONFIGURATION AS CODE CLOUD NATIVE JENKINS JENKINS X

slide-13
SLIDE 13

CONFIGURATION AS CODE

slide-14
SLIDE 14

WHAT IF …

CONFIGURATION AS CODE

You can apply a sane change control practice to Jenkins configuration? Jenkins stops being a snowflake? You can safely roll back a failed upgrade? You could cookie cutter lots of identical Jenkins instances?

slide-15
SLIDE 15

jenkins: securityRealm: ldap: configurations:

  • server: ldap.acme.com

rootDN: dc=acme,dc=fr managerPasswordSecret: ${LDAP_PASSWORD} cache: size: 100 ttl: 10 userIdStrategy: CaseSensitive groupIdStrategy: CaseSensitive

slide-16
SLIDE 16

1

This is

happening

Launch Docker container with said config file

slide-17
SLIDE 17

Getting Started with config-as-code

  • https://www.praqma.com/s

tories/start-jenkins-config- as-code/

slide-18
SLIDE 18

@tracymiranda

slide-19
SLIDE 19

@tracymiranda

slide-20
SLIDE 20

JENKINS X

slide-21
SLIDE 21

COMMON PLATFORM IN ALL CLOUDS AWS, Microsoft Azure, Google Cloud Platform, OpenShift, Cloud Foundry FUNCTIONALITY Cluster scheduler, service discovery, load balancer EXTENSIBILITY

NEW Cloud Operating System

slide-22
SLIDE 22

You can have fun

tinkering

slide-23
SLIDE 23

Or you can just get

productive

slide-24
SLIDE 24

Jenkins X Vision

Figure out the best practice of how to CD cloud native apps

Not just build and test, but review, promote, changelog, collaborate, etc.

Integrate best of breed software in this ecosystem to achieve it Democratize it by building a pleasant CLI that represents high-level steps Be opinionated on how to do things Kubernetes is a means to the end

slide-25
SLIDE 25

@tracymiranda

slide-26
SLIDE 26

@tracymiranda

slide-27
SLIDE 27

@tracymiranda

slide-28
SLIDE 28

@tracymiranda

slide-29
SLIDE 29

Best Practice We Preach

Use cloud to develop, keep your laptop for what it needs to do Promote apps through multiple environments GitOps: deployment should be recorded and tracked in Git Develop/collaborate changes in PR, review/test before merge Keep master always releasable Inform other people about where changes are Deploy often and in small increments

slide-30
SLIDE 30

Wrap-up

slide-31
SLIDE 31

Conclusions

  • Configuration as code is a best practice to follow.
  • If you are using cloud native technologies, GitOps has essential

techniques and practices to help you go faster without costing you stability.

  • There are some problems your tools won’t fix, for everything else

there’s Jenkins X.

@tracymiranda