Slide 1

Slide 1 text

Getting App Observability to the next stage Open Source @ Siemens May 18, 2022 Oleg Nenashev @oleg_nenashev

Slide 2

Slide 2 text

> whoami @oleg_nenashev oleg-nenashev

Slide 3

Slide 3 text

Dynatrace OSPO engineering.dynatrace.com/open-source // OSPO - Open Source Programs Office ● Started as Innovation Lab ● Reorganized as the OSPO in 2021 ● Driving open source initiatives & strategy ● We help Dynatracers to participate in Open Source - infra, legal, consulting, tooling, community operations, ...

Slide 4

Slide 4 text

Dynatrace OSPO. Key projects / areas

Slide 5

Slide 5 text

Outline ● Open Observability 101 ● Keptn - acting on observability data ● Keptn usage modes ● (?) Live demo ● Discussion These slides

Slide 6

Slide 6 text

Disclaimer ● Opinions are my own, happy to discuss ● My talk does not represent opinions of my employer, the Continuous Delivery Foundation, or the Keptn community ● I present only open source projects today

Slide 7

Slide 7 text

Site Reliability Engineering (SRE) https://blog.bullgare.com/2018/05/sre-sla-vs-slo-vs-sli/

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

Modern cloud native systems are no longer simple! ● CI/CD ● Production ● Staging

Slide 10

Slide 10 text

Operations at scale • Configuration complexity • Duplication • Many parties involved • Configuration drift Maintenance is difficult Spaghetti Automation

Slide 11

Slide 11 text

Observability is a must

Slide 12

Slide 12 text

12 https://twitter.com/dastbe/statu s/1303858170155081728

Slide 13

Slide 13 text

13 https://landscape.cncf.io/

Slide 14

Slide 14 text

Open Observability Standards

Slide 15

Slide 15 text

Open Observability Standards… and Implementations

Slide 16

Slide 16 text

16

Slide 17

Slide 17 text

Architecture of Prometheus Kube State metrics Node exporter Cadvisor Alertmanager Scrape Prometheus Serveur PromQl

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

Got Data? Act On It!

Slide 20

Slide 20 text

Getting Observability to the next stage With Keptn

Slide 21

Slide 21 text

Keptn in other words … Observability-driven orchestration for your cloud native apps https://keptn.sh

Slide 22

Slide 22 text

Keptn makes SRE easier

Slide 23

Slide 23 text

Keptn ● CNCF Sandbox project ● Control plane, admin frontend/CLI ● Observability, dashboards & alerting ● SLO-driven multistage delivery ● Operations & remediation https://keptn.sh

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

Automated Data-Driven Orchestration of all your tools Control Plane CloudEvents

Slide 26

Slide 26 text

Orchestration sequences Orchestration, monitoring , deployment, test , evaluation of SLOs SLOs (queried from Observability) are in the core of Keptn

Slide 27

Slide 27 text

Keptn integrates with other tools CLI / REST API Integration services (a.k.a. plugins)

Slide 28

Slide 28 text

Keptn Adopters

Slide 29

Slide 29 text

Keptn Use-Cases

Slide 30

Slide 30 text

Keptn use-case #0 IFTTT for operations

Slide 31

Slide 31 text

31 SLO Evaluation & Monitoring 4,000+ apps Notifications Auto-remediation

Slide 32

Slide 32 text

● Shipyard.yaml ● Internal Pipeline Engine ● Manual triggering ● Triggering on events

Slide 33

Slide 33 text

Keptn sequences are extensible https://artifacthub.io/packages /search?ts_query_web=Keptn

Slide 34

Slide 34 text

Extensions ● Integration services (a.k.a plugins) ● Job Executor Service steps ● Webhook service steps

Slide 35

Slide 35 text

github.com/keptn-contrib/job-executor-service

Slide 36

Slide 36 text

youtube.com/watch?v=0vJS7ecayGw Webhook Service https://artifacthub.io/packages /search?ts_query_web=Keptn

Slide 37

Slide 37 text

SLO Evaluation & Monitoring 3,000+ apps Metrics / SLI Providers Notifications Example: Zapier Webhook Integration https://artifacthub.io/packages /search?ts_query_web=Keptn

Slide 38

Slide 38 text

Keptn use-case #1 SLO Monitoring

Slide 39

Slide 39 text

39 SLO Evaluation & Monitoring Metrics / SLI Providers Notifications Auto-remediation

Slide 40

Slide 40 text

40 sli.yml https://github.com/keptn/examples/blob/master/quickstart /demo/prometheus/sli.yaml

Slide 41

Slide 41 text

41 slo.yml https://github.com/keptn/examples/blo b/master/quickstart/demo/slo.yaml sli.yml

Slide 42

Slide 42 text

Keptn use-case #2 Auto-remediation

Slide 43

Slide 43 text

Keptn and Prometheus SLO Evaluation & Monitoring Prometheus Integration Service Your App Auto-remediation loop

Slide 44

Slide 44 text

Auto-remediation in Keptn ● Triggered on failing SLO evaluation ● Remediation.yml

Slide 45

Slide 45 text

Auto-remediation in Keptn ● Triggered on failing SLO evaluation ● Remediation.yml ● Auto-remediation definition in shipyard.yml ● Triggered by events

Slide 46

Slide 46 text

Keptn use-case #3 Embedding Keptn in your pipelines

Slide 47

Slide 47 text

Quality Gates. Example https://blog.sonarsource.com/clean_coding- quality_profile_quality_gate_guidance

Slide 48

Slide 48 text

Example. Quality Assurance

Slide 49

Slide 49 text

Quality gates with Keptn: Real life example https://cloudblogs.microsoft.com/opensource/2019/06/11/five-steps-add- automated-performance-quality-gates-azure-devops-pipelines/

Slide 50

Slide 50 text

Keptn use-case #4 Drive your pipelines

Slide 51

Slide 51 text

No content

Slide 52

Slide 52 text

Data-Driven Orchestration of your tools Control Plane CloudEvents

Slide 53

Slide 53 text

Story time! youtube.com/watch?v=9yCahPW7s8U community.cncf.io/events/details/cncf-keptn-community-presents-ke ptn-office-hours-at-kubecon-cloud-native-con/

Slide 54

Slide 54 text

Story by NTT Data

Slide 55

Slide 55 text

Story by NTT Data

Slide 56

Slide 56 text

Story by NTT Data

Slide 57

Slide 57 text

It is observable Thank you, Keptn Obvious! keptn.sh

Slide 58

Slide 58 text

Takeaways ● Keptn - Data-driven delivery and operations for YOUR cloud native apps ● Keptn is not a CI/CD tool ● Keptn is not just for quality gates ● Evaluating quality gates is important in software development ● Keptn can help with automating quality gates!

Slide 59

Slide 59 text

Come aboard! Quickstart (K3D, K8s) Tutorials: ● Prometheus ● Dynatrace ● ArgoCD ● Jenkins ● Soon: Datadog keptn.sh/docs/ quickstart

Slide 60

Slide 60 text

More about Keptn Techworld with Nana, March 2022 https://www.youtube.com/watch?v=3EEZmSwMXp8

Slide 61

Slide 61 text

Participating in Keptn ● We are looking for users and contributors! ● keptn.sh/community/contributing ○ K8s, Golang, Javascript, Documentation, etc. ○ SRE and Operations ● We participate in Google Summer of Code ● Slack: keptn.sh/community/#slack

Slide 62

Slide 62 text

Join us online ● Zoom => CNCF Community Portal ● community.cncf.io/keptn-community ● Powered by Bevy ● Videos go to YouTube

Slide 63

Slide 63 text

Get it at keptn.sh!!! Keptn 100% OFF* * unlimited offer

Slide 64

Slide 64 text

Contacts: E-mail: [email protected] GitHub: oleg-nenashev Twitter: @oleg_nenashev QUESTIONS?