SlideShare a Scribd company logo
1 of 23
Download to read offline
Keptn: Unbreakable
Continuous Delivery
Jürgen Etzlstorfer
@jetzlstorfer
Confidential 2
Agenda
• Why we have to build keptn
• What problems keptn solves
• What keptn is and how it works
3Confidential
Why we have to build !
Because Cloud Native Continuous Delivery is a big challenge!
Confidential 4
Your App / Container
Cloud Native: Deliver
High Quality Faster
Confidential 5
< 1 day < 1 week 1 to 2 weeks 2 to 3 weeks 3 to 4 weeks > 4 weeks
Small (11-100 employees) Medium (101-1000 employees)
Large (1001-5000 employees) Extra large (over 5000 employees)
3%
20%
35%
42%
2 days 12.5 days
95th Percentile Median
Commit Cycle Time: From Dev to Pro
Goal: 1h to Production
1 hour
Confidential 6
3 out of 10
Business Impacting
Deployments
3 hotfixes
Per Production
Deployment
4.8 days
MTTR
(Mean Time to Repair)
Evaluate for yourself: https://dynatrace.ai/acsurvey
12.5 days
Code to Production
(Commit Cycle Time)
1 out of 10 0 hotfixes ~4 hours2 days
Median
95th
Percentile
Confidential 7
How do we elevate an organization from Median to 95th percentile!
• Automated Quality (Shift-Left)
• Goal: Stop Bad Code Changes Early & Automated
• Automated Testing & Quality Gates
• Automated Multi-Stage Deployments (Shift-Right)
• Goal: Increase deployments into stable environments
• Dark, Shadow, Blue/Green Deployments with Auto-Validation
• Automated Operations (Self-Healing)
• Goal: NoOps & Zero-Impact on End Users
• Automated Remediation & (On-Demand) Scaling
97%deployment lead time
Faster
More Frequently
12 26releases per year
to
75%production incidents
Better
Confidential 8
What problems solves!
Let‘s developers build code vs maintaining pipelines & k8s clusters
Let‘s operations automate run books vs manual firefighting
Confidential 9
What we have seen organizations actually do!
• Building Custom Integrations with OpenSource & Commercial tools for
• Deployment Pipelines
• Testing Pipelines
• Auto-Remediation
• Notifications
• Auditing
Confidential 10
What we have seen organizations struggle with
Quote: „Pipelines seem to become our new future unmanagable legacy code!“
• Teams want to stick with existing tools to protect investement
• Containing lots of custom code for tool integration, error handling, logging, ...
• Getting harder to maintain the more tools get integrated
• Pipelines becoming more complex requiring dedicated teams
• Uncoordinated deployments between pipelines resulting in unstable Environments
Confidential 11
What is and how it works!
Enterprise-grade framework for shipping and running cloud native apps
Confidential 12
from 10000ft
GitOps-based collaboration
Operator patterns for all logic components
Monitoring and operations as code
Built on and for Kubernetes
Event-driven and serverless
Pluggable tooling
Automated multistage unbreakable delivery pipelines
Self-healing blue/green deployments
Event-driven runbook automation
Design Principles
Core capabilities
Confidential 13
keptn – conceptual architecture
Autonomous Cloud Control Plane
GitOps
Container
Registry
Continuous
Delivery AIOps
Operations
Automation
Test
Automation
Environment Definition (shipyard file)
ChatOps
Dev Namespace Staging Namespace Production Namespace
CoreServicesPlatform
Data
Provider
Confidential 14
keptn – Shipping through Unbreakable Continuous Delivery Pipelines
Autonomous Cloud Control Plane
prodstagedev
1: push
2: deploy (dark)
3: test (functional)
4: evaluate (architecture)
6: deploy (shadow)
7: test (performance)
8: evaluate (scalablity)
10: deploy (blue/green)
11: evaluate (business impact)
12: operate (NoOps)
5: promote 9: promote
Dev
Confidential 15
Keptn: Phase 1 – Creating a Project
$ keptn create project sockshop shipyard.yaml
prodstagedev prodstagedev
1
1 Create GitOps Config Repos
2
2 Create k8s Namespaces
shipyard.yaml
stages:
- name: "dev"
deployment_strategy: "dark"
test_strategy: "functional"
- name: "stage"
deployment_strategy: "shadow"
test_strategy: "performance"
- name: "prod"
deployment_strategy: "blue_green"
Confidential 16
Keptn: Phase 2 – Onboarding a service
$ keptn onboard service --project=sockshop --values=values_carts.yaml
prodstagedev
1
1 Setup Registry Hooks
2
2 Apply Configuration + Istio
2
prodstagedev
2 2
values_carts.yaml
replicaCount: 1
service:
name: carts
type: LoadBalancer
externalPort: 80
container:
name: carts
resources:
limits:
cpu: 100m
memory: 128Mi
...
Confidential 17
Keptn: Phase 3 – Pushing an artifact and deploy to dev
$ docker push yourregistry/carts:0.2
prodstagedev
1
prodstagedev
1
1 New Artifact: carts:0.2 dev
2
2 Start Deployment: carts:0.2 (dev, dark)
3
3 Deployment Finished: Success or Failure
4
4 Start Tests: Functional, Dev, carts
5
5 Tests Finished: Test Result & State
6
6 Start Deployment Evaluation: Perfspec
7
7 Evaluation Finished: Deployment Score
8
"indicators": [ {
"id" : “Prometheus:go_memstats_alloc",
"metricScore": 20
},{
"id": “Dynatrace:Avg_ActionDuration",
"metricScore": 20
} ],
"objective" : { "pass" : 90, “warning” : 75 }
6
8 Send new Artifact Event: carts:0.2 stage
Confidential 18
Keptn: Phase 4 – Promoting an Artifact to Staging
$ keptn send event newartifact carts:0.2 stage
prodstagedev
1
prodstagedev
1
1 New Artifact: carts:0.2 stage
2
2 Start Deployment: carts:0.2 (stage, shadow)
3
3 Deployment Finished: Success or Failure
4
4 Start Tests: Performance, Stage, carts
5
5 Tests Finished: Test Result & State
6
6 Start Deployment Evaluation: Perfspec
7
7 Evaluation Finished: Deployment Score
8
6
8 Send new Artifact Event: carts:0.2 prod
"indicators": [ {
"id": “Dynatrace:RT_Real",
"metricScore": 20
},{
"id": “Dynatrace:RT_Shadow",
"metricScore": 20
} ],
"objective" : { "pass" : 95 }
Confidential 19
Keptn: Phase 4 – Promoting an Artifact to Production: Blue/Green no issues!
$ keptn send event newartifact carts:0.2 production
prodstagedev
1
prodstagedev
1
1 New Artifact: carts:0.2 prod
2
2 Start Deployment: carts:0.2 (prod, bluegreen)
3
3 Deployment Finished: Success or Failure
4
4 Start Deployment Evaluation: Perfspec
5
5 Evaluation Finished: Deployment Score4
6
6 Blue/Green Switch
"indicators": [ {
"id": “Dynatrace:ConversionRate",
"metricScore": 100
}],
"objective" : { "pass" : 95 }
Confidential 20
Keptn: Phase 4 – Promoting an Artifact to Production: Blue/Green with problem!
$ keptn send event newartifact carts:0.2 production
prodstagedev
1
prodstagedev
1
1 New Artifact: carts:0.2
2
2 Start Deployment: carts:0.2 (prod, bluegreen)
3
3 Deployment Finished: Success or Failure
4
4 Start Deployment Evaluation: Perfspec
5
5 Evaluation Result: Dynatrace Problem Notify
4
6
6 Remediation: Back to Blue
6 Remediation: Trigger ServiceNow Workflow
6
66
6 Remediation: Update Configuration: carts:0.1
21Confidential
Demo Time
Confidential 22
Want to learn more?
• Learn how to use keptn: https://keptn.sh/docs/
• Clone, fork, star, contribute to keptn: https://github.com/keptn/
• Develop your own keptn-services: https://github.com/keptn/keptn-service-template
• Join our community (slack invite, meetings): https://github.com/keptn/community
• Follow us @keptnproject
• Fill out our survey: https://dynatrace.ai/acsurvey
• Reach out with any requests:
• juergen.etzlstorfer@dynatrace.com
• @jetzlstorfer
Confidential 23
dynatrace.com

More Related Content

What's hot

Shift-left SRE: Self-healing on OpenShift with Ansible
Shift-left SRE: Self-healing on OpenShift with AnsibleShift-left SRE: Self-healing on OpenShift with Ansible
Shift-left SRE: Self-healing on OpenShift with AnsibleJürgen Etzlstorfer
 
Application Monitoring using Datadog
Application Monitoring using DatadogApplication Monitoring using Datadog
Application Monitoring using DatadogMukta Aphale
 
Release Readiness Validation with Keptn for Austrian Online Banking Software
Release Readiness Validation with Keptn for Austrian Online Banking SoftwareRelease Readiness Validation with Keptn for Austrian Online Banking Software
Release Readiness Validation with Keptn for Austrian Online Banking SoftwareAndreas Grabner
 
Keptn - Automated Operations & Continuous Delivery for k8s
Keptn - Automated Operations & Continuous Delivery for k8sKeptn - Automated Operations & Continuous Delivery for k8s
Keptn - Automated Operations & Continuous Delivery for k8sAndreas Grabner
 
A framework for self-healing applications – the path to enable auto-remediation
A framework for self-healing applications – the path to enable auto-remediationA framework for self-healing applications – the path to enable auto-remediation
A framework for self-healing applications – the path to enable auto-remediationJürgen Etzlstorfer
 
Top Performance Problems in Distributed Architectures
Top Performance Problems in Distributed ArchitecturesTop Performance Problems in Distributed Architectures
Top Performance Problems in Distributed ArchitecturesAndreas Grabner
 
Canary releases & Blue green deployment
Canary releases & Blue green deploymentCanary releases & Blue green deployment
Canary releases & Blue green deploymentSQUADEX
 
Monitoring as a Self-Service in Atlassian DevOps Toolchain
Monitoring as a Self-Service in Atlassian DevOps ToolchainMonitoring as a Self-Service in Atlassian DevOps Toolchain
Monitoring as a Self-Service in Atlassian DevOps ToolchainAndreas Grabner
 
Applying AI to Performance Engineering: Shift-Left, Shift-Right, Self-Healing
Applying AI to Performance Engineering: Shift-Left, Shift-Right, Self-HealingApplying AI to Performance Engineering: Shift-Left, Shift-Right, Self-Healing
Applying AI to Performance Engineering: Shift-Left, Shift-Right, Self-HealingAndreas Grabner
 
AWS Summit - Trends in Advanced Monitoring for AWS environments
AWS Summit - Trends in Advanced Monitoring for AWS environmentsAWS Summit - Trends in Advanced Monitoring for AWS environments
AWS Summit - Trends in Advanced Monitoring for AWS environmentsAndreas Grabner
 
NetflixOSS Meetup S6E2 - Spinnaker, Kayenta
NetflixOSS Meetup S6E2 - Spinnaker, KayentaNetflixOSS Meetup S6E2 - Spinnaker, Kayenta
NetflixOSS Meetup S6E2 - Spinnaker, Kayentaaspyker
 
Simplified Patch Management with Puppet - Oct. 2020
Simplified Patch Management with Puppet - Oct. 2020Simplified Patch Management with Puppet - Oct. 2020
Simplified Patch Management with Puppet - Oct. 2020Puppet
 
Boston DevOps Days 2016: Implementing Metrics Driven DevOps - Why and How
Boston DevOps Days 2016: Implementing Metrics Driven DevOps - Why and HowBoston DevOps Days 2016: Implementing Metrics Driven DevOps - Why and How
Boston DevOps Days 2016: Implementing Metrics Driven DevOps - Why and HowAndreas Grabner
 
DevOps for AI Apps
DevOps for AI AppsDevOps for AI Apps
DevOps for AI AppsRichin Jain
 
OSMC 2013 | The future of Nagios by Andreas Ericsson
OSMC 2013 | The future of Nagios by Andreas EricssonOSMC 2013 | The future of Nagios by Andreas Ericsson
OSMC 2013 | The future of Nagios by Andreas EricssonNETWAYS
 
Cf summit-2016-monitoring-cf-sensu-graphite
Cf summit-2016-monitoring-cf-sensu-graphiteCf summit-2016-monitoring-cf-sensu-graphite
Cf summit-2016-monitoring-cf-sensu-graphiteJeff Barrows
 
DevOps Days Toronto: From 6 Months Waterfall to 1 hour Code Deploys
DevOps Days Toronto: From 6 Months Waterfall to 1 hour Code DeploysDevOps Days Toronto: From 6 Months Waterfall to 1 hour Code Deploys
DevOps Days Toronto: From 6 Months Waterfall to 1 hour Code DeploysAndreas Grabner
 
The ultimate container monitoring bake-off - Rancher Online Meetup October 2016
The ultimate container monitoring bake-off - Rancher Online Meetup October 2016The ultimate container monitoring bake-off - Rancher Online Meetup October 2016
The ultimate container monitoring bake-off - Rancher Online Meetup October 2016Shannon Williams
 
Continuously serving the developer community with Continuous Integration and...
Continuously serving the developer community with  Continuous Integration and...Continuously serving the developer community with  Continuous Integration and...
Continuously serving the developer community with Continuous Integration and...Thoughtworks
 
DevOps Pipelines and Metrics Driven Feedback Loops
DevOps Pipelines and Metrics Driven Feedback LoopsDevOps Pipelines and Metrics Driven Feedback Loops
DevOps Pipelines and Metrics Driven Feedback LoopsAndreas Grabner
 

What's hot (20)

Shift-left SRE: Self-healing on OpenShift with Ansible
Shift-left SRE: Self-healing on OpenShift with AnsibleShift-left SRE: Self-healing on OpenShift with Ansible
Shift-left SRE: Self-healing on OpenShift with Ansible
 
Application Monitoring using Datadog
Application Monitoring using DatadogApplication Monitoring using Datadog
Application Monitoring using Datadog
 
Release Readiness Validation with Keptn for Austrian Online Banking Software
Release Readiness Validation with Keptn for Austrian Online Banking SoftwareRelease Readiness Validation with Keptn for Austrian Online Banking Software
Release Readiness Validation with Keptn for Austrian Online Banking Software
 
Keptn - Automated Operations & Continuous Delivery for k8s
Keptn - Automated Operations & Continuous Delivery for k8sKeptn - Automated Operations & Continuous Delivery for k8s
Keptn - Automated Operations & Continuous Delivery for k8s
 
A framework for self-healing applications – the path to enable auto-remediation
A framework for self-healing applications – the path to enable auto-remediationA framework for self-healing applications – the path to enable auto-remediation
A framework for self-healing applications – the path to enable auto-remediation
 
Top Performance Problems in Distributed Architectures
Top Performance Problems in Distributed ArchitecturesTop Performance Problems in Distributed Architectures
Top Performance Problems in Distributed Architectures
 
Canary releases & Blue green deployment
Canary releases & Blue green deploymentCanary releases & Blue green deployment
Canary releases & Blue green deployment
 
Monitoring as a Self-Service in Atlassian DevOps Toolchain
Monitoring as a Self-Service in Atlassian DevOps ToolchainMonitoring as a Self-Service in Atlassian DevOps Toolchain
Monitoring as a Self-Service in Atlassian DevOps Toolchain
 
Applying AI to Performance Engineering: Shift-Left, Shift-Right, Self-Healing
Applying AI to Performance Engineering: Shift-Left, Shift-Right, Self-HealingApplying AI to Performance Engineering: Shift-Left, Shift-Right, Self-Healing
Applying AI to Performance Engineering: Shift-Left, Shift-Right, Self-Healing
 
AWS Summit - Trends in Advanced Monitoring for AWS environments
AWS Summit - Trends in Advanced Monitoring for AWS environmentsAWS Summit - Trends in Advanced Monitoring for AWS environments
AWS Summit - Trends in Advanced Monitoring for AWS environments
 
NetflixOSS Meetup S6E2 - Spinnaker, Kayenta
NetflixOSS Meetup S6E2 - Spinnaker, KayentaNetflixOSS Meetup S6E2 - Spinnaker, Kayenta
NetflixOSS Meetup S6E2 - Spinnaker, Kayenta
 
Simplified Patch Management with Puppet - Oct. 2020
Simplified Patch Management with Puppet - Oct. 2020Simplified Patch Management with Puppet - Oct. 2020
Simplified Patch Management with Puppet - Oct. 2020
 
Boston DevOps Days 2016: Implementing Metrics Driven DevOps - Why and How
Boston DevOps Days 2016: Implementing Metrics Driven DevOps - Why and HowBoston DevOps Days 2016: Implementing Metrics Driven DevOps - Why and How
Boston DevOps Days 2016: Implementing Metrics Driven DevOps - Why and How
 
DevOps for AI Apps
DevOps for AI AppsDevOps for AI Apps
DevOps for AI Apps
 
OSMC 2013 | The future of Nagios by Andreas Ericsson
OSMC 2013 | The future of Nagios by Andreas EricssonOSMC 2013 | The future of Nagios by Andreas Ericsson
OSMC 2013 | The future of Nagios by Andreas Ericsson
 
Cf summit-2016-monitoring-cf-sensu-graphite
Cf summit-2016-monitoring-cf-sensu-graphiteCf summit-2016-monitoring-cf-sensu-graphite
Cf summit-2016-monitoring-cf-sensu-graphite
 
DevOps Days Toronto: From 6 Months Waterfall to 1 hour Code Deploys
DevOps Days Toronto: From 6 Months Waterfall to 1 hour Code DeploysDevOps Days Toronto: From 6 Months Waterfall to 1 hour Code Deploys
DevOps Days Toronto: From 6 Months Waterfall to 1 hour Code Deploys
 
The ultimate container monitoring bake-off - Rancher Online Meetup October 2016
The ultimate container monitoring bake-off - Rancher Online Meetup October 2016The ultimate container monitoring bake-off - Rancher Online Meetup October 2016
The ultimate container monitoring bake-off - Rancher Online Meetup October 2016
 
Continuously serving the developer community with Continuous Integration and...
Continuously serving the developer community with  Continuous Integration and...Continuously serving the developer community with  Continuous Integration and...
Continuously serving the developer community with Continuous Integration and...
 
DevOps Pipelines and Metrics Driven Feedback Loops
DevOps Pipelines and Metrics Driven Feedback LoopsDevOps Pipelines and Metrics Driven Feedback Loops
DevOps Pipelines and Metrics Driven Feedback Loops
 

Similar to Keptn: Unbreakable Continuous Delivery

Chicago DevOps Meetup Nov2019
Chicago DevOps Meetup Nov2019Chicago DevOps Meetup Nov2019
Chicago DevOps Meetup Nov2019Mike Villiger
 
Regain Control Thanks To Prometheus
Regain Control Thanks To PrometheusRegain Control Thanks To Prometheus
Regain Control Thanks To PrometheusEtienne Coutaud
 
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...VMworld
 
Continuous Delivery: How RightScale Releases Weekly
Continuous Delivery: How RightScale Releases WeeklyContinuous Delivery: How RightScale Releases Weekly
Continuous Delivery: How RightScale Releases WeeklyRightScale
 
From 0 to DevOps in 80 Days [Webinar Replay]
From 0 to DevOps in 80 Days [Webinar Replay]From 0 to DevOps in 80 Days [Webinar Replay]
From 0 to DevOps in 80 Days [Webinar Replay]Dynatrace
 
Cloud native development without the toil
Cloud native development without the toilCloud native development without the toil
Cloud native development without the toilAmbassador Labs
 
GOTOpia 2/2021 "Cloud Native Development Without the Toil: An Overview of Pra...
GOTOpia 2/2021 "Cloud Native Development Without the Toil: An Overview of Pra...GOTOpia 2/2021 "Cloud Native Development Without the Toil: An Overview of Pra...
GOTOpia 2/2021 "Cloud Native Development Without the Toil: An Overview of Pra...Daniel Bryant
 
Auto sre with keptn
Auto sre with keptnAuto sre with keptn
Auto sre with keptnLibbySchulze
 
Don't Deploy Into the Dark: DORA Metrics for your K8s GitOps Deployments
Don't Deploy Into the Dark: DORA Metrics for your K8s GitOps DeploymentsDon't Deploy Into the Dark: DORA Metrics for your K8s GitOps Deployments
Don't Deploy Into the Dark: DORA Metrics for your K8s GitOps DeploymentsAndreas Grabner
 
[India Merge World Tour] Electric Cloud
[India Merge World Tour] Electric Cloud[India Merge World Tour] Electric Cloud
[India Merge World Tour] Electric CloudPerforce
 
JAX London 2021: Jumpstart Your Cloud Native Development: An Overview of Prac...
JAX London 2021: Jumpstart Your Cloud Native Development: An Overview of Prac...JAX London 2021: Jumpstart Your Cloud Native Development: An Overview of Prac...
JAX London 2021: Jumpstart Your Cloud Native Development: An Overview of Prac...Daniel Bryant
 
Ship code like a keptn
Ship code like a keptnShip code like a keptn
Ship code like a keptnRob Jahn
 
Intro to Puppet Enterprise for a Windows Environment - 08.23
Intro to Puppet Enterprise for a Windows Environment - 08.23Intro to Puppet Enterprise for a Windows Environment - 08.23
Intro to Puppet Enterprise for a Windows Environment - 08.23Puppet
 
Cerberus : Framework for Manual and Automated Testing (Web Application)
Cerberus : Framework for Manual and Automated Testing (Web Application)Cerberus : Framework for Manual and Automated Testing (Web Application)
Cerberus : Framework for Manual and Automated Testing (Web Application)CIVEL Benoit
 
Cerberus_Presentation1
Cerberus_Presentation1Cerberus_Presentation1
Cerberus_Presentation1CIVEL Benoit
 
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...VMworld
 
70% Improvement in Service and Product Delivery on Implementing DevOps
70% Improvement in Service and Product Delivery on Implementing DevOps70% Improvement in Service and Product Delivery on Implementing DevOps
70% Improvement in Service and Product Delivery on Implementing DevOpsCygnet Infotech
 
Operating a High Velocity Large Organization with Spring Cloud Microservices
Operating a High Velocity Large Organization with Spring Cloud MicroservicesOperating a High Velocity Large Organization with Spring Cloud Microservices
Operating a High Velocity Large Organization with Spring Cloud MicroservicesNoriaki Tatsumi
 

Similar to Keptn: Unbreakable Continuous Delivery (20)

Chicago DevOps Meetup Nov2019
Chicago DevOps Meetup Nov2019Chicago DevOps Meetup Nov2019
Chicago DevOps Meetup Nov2019
 
Regain Control Thanks To Prometheus
Regain Control Thanks To PrometheusRegain Control Thanks To Prometheus
Regain Control Thanks To Prometheus
 
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
 
Continuous Delivery: How RightScale Releases Weekly
Continuous Delivery: How RightScale Releases WeeklyContinuous Delivery: How RightScale Releases Weekly
Continuous Delivery: How RightScale Releases Weekly
 
From 0 to DevOps in 80 Days [Webinar Replay]
From 0 to DevOps in 80 Days [Webinar Replay]From 0 to DevOps in 80 Days [Webinar Replay]
From 0 to DevOps in 80 Days [Webinar Replay]
 
Cloud native development without the toil
Cloud native development without the toilCloud native development without the toil
Cloud native development without the toil
 
GOTOpia 2/2021 "Cloud Native Development Without the Toil: An Overview of Pra...
GOTOpia 2/2021 "Cloud Native Development Without the Toil: An Overview of Pra...GOTOpia 2/2021 "Cloud Native Development Without the Toil: An Overview of Pra...
GOTOpia 2/2021 "Cloud Native Development Without the Toil: An Overview of Pra...
 
Auto sre with keptn
Auto sre with keptnAuto sre with keptn
Auto sre with keptn
 
Don't Deploy Into the Dark: DORA Metrics for your K8s GitOps Deployments
Don't Deploy Into the Dark: DORA Metrics for your K8s GitOps DeploymentsDon't Deploy Into the Dark: DORA Metrics for your K8s GitOps Deployments
Don't Deploy Into the Dark: DORA Metrics for your K8s GitOps Deployments
 
DevOps and AWS
DevOps and AWSDevOps and AWS
DevOps and AWS
 
[India Merge World Tour] Electric Cloud
[India Merge World Tour] Electric Cloud[India Merge World Tour] Electric Cloud
[India Merge World Tour] Electric Cloud
 
JAX London 2021: Jumpstart Your Cloud Native Development: An Overview of Prac...
JAX London 2021: Jumpstart Your Cloud Native Development: An Overview of Prac...JAX London 2021: Jumpstart Your Cloud Native Development: An Overview of Prac...
JAX London 2021: Jumpstart Your Cloud Native Development: An Overview of Prac...
 
Ship code like a keptn
Ship code like a keptnShip code like a keptn
Ship code like a keptn
 
Intro to Puppet Enterprise for a Windows Environment - 08.23
Intro to Puppet Enterprise for a Windows Environment - 08.23Intro to Puppet Enterprise for a Windows Environment - 08.23
Intro to Puppet Enterprise for a Windows Environment - 08.23
 
Cerberus : Framework for Manual and Automated Testing (Web Application)
Cerberus : Framework for Manual and Automated Testing (Web Application)Cerberus : Framework for Manual and Automated Testing (Web Application)
Cerberus : Framework for Manual and Automated Testing (Web Application)
 
Cerberus_Presentation1
Cerberus_Presentation1Cerberus_Presentation1
Cerberus_Presentation1
 
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
 
DevOps on AWS
DevOps on AWSDevOps on AWS
DevOps on AWS
 
70% Improvement in Service and Product Delivery on Implementing DevOps
70% Improvement in Service and Product Delivery on Implementing DevOps70% Improvement in Service and Product Delivery on Implementing DevOps
70% Improvement in Service and Product Delivery on Implementing DevOps
 
Operating a High Velocity Large Organization with Spring Cloud Microservices
Operating a High Velocity Large Organization with Spring Cloud MicroservicesOperating a High Velocity Large Organization with Spring Cloud Microservices
Operating a High Velocity Large Organization with Spring Cloud Microservices
 

Recently uploaded

Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 

Keptn: Unbreakable Continuous Delivery

  • 2. Confidential 2 Agenda • Why we have to build keptn • What problems keptn solves • What keptn is and how it works
  • 3. 3Confidential Why we have to build ! Because Cloud Native Continuous Delivery is a big challenge!
  • 4. Confidential 4 Your App / Container Cloud Native: Deliver High Quality Faster
  • 5. Confidential 5 < 1 day < 1 week 1 to 2 weeks 2 to 3 weeks 3 to 4 weeks > 4 weeks Small (11-100 employees) Medium (101-1000 employees) Large (1001-5000 employees) Extra large (over 5000 employees) 3% 20% 35% 42% 2 days 12.5 days 95th Percentile Median Commit Cycle Time: From Dev to Pro Goal: 1h to Production 1 hour
  • 6. Confidential 6 3 out of 10 Business Impacting Deployments 3 hotfixes Per Production Deployment 4.8 days MTTR (Mean Time to Repair) Evaluate for yourself: https://dynatrace.ai/acsurvey 12.5 days Code to Production (Commit Cycle Time) 1 out of 10 0 hotfixes ~4 hours2 days Median 95th Percentile
  • 7. Confidential 7 How do we elevate an organization from Median to 95th percentile! • Automated Quality (Shift-Left) • Goal: Stop Bad Code Changes Early & Automated • Automated Testing & Quality Gates • Automated Multi-Stage Deployments (Shift-Right) • Goal: Increase deployments into stable environments • Dark, Shadow, Blue/Green Deployments with Auto-Validation • Automated Operations (Self-Healing) • Goal: NoOps & Zero-Impact on End Users • Automated Remediation & (On-Demand) Scaling 97%deployment lead time Faster More Frequently 12 26releases per year to 75%production incidents Better
  • 8. Confidential 8 What problems solves! Let‘s developers build code vs maintaining pipelines & k8s clusters Let‘s operations automate run books vs manual firefighting
  • 9. Confidential 9 What we have seen organizations actually do! • Building Custom Integrations with OpenSource & Commercial tools for • Deployment Pipelines • Testing Pipelines • Auto-Remediation • Notifications • Auditing
  • 10. Confidential 10 What we have seen organizations struggle with Quote: „Pipelines seem to become our new future unmanagable legacy code!“ • Teams want to stick with existing tools to protect investement • Containing lots of custom code for tool integration, error handling, logging, ... • Getting harder to maintain the more tools get integrated • Pipelines becoming more complex requiring dedicated teams • Uncoordinated deployments between pipelines resulting in unstable Environments
  • 11. Confidential 11 What is and how it works! Enterprise-grade framework for shipping and running cloud native apps
  • 12. Confidential 12 from 10000ft GitOps-based collaboration Operator patterns for all logic components Monitoring and operations as code Built on and for Kubernetes Event-driven and serverless Pluggable tooling Automated multistage unbreakable delivery pipelines Self-healing blue/green deployments Event-driven runbook automation Design Principles Core capabilities
  • 13. Confidential 13 keptn – conceptual architecture Autonomous Cloud Control Plane GitOps Container Registry Continuous Delivery AIOps Operations Automation Test Automation Environment Definition (shipyard file) ChatOps Dev Namespace Staging Namespace Production Namespace CoreServicesPlatform Data Provider
  • 14. Confidential 14 keptn – Shipping through Unbreakable Continuous Delivery Pipelines Autonomous Cloud Control Plane prodstagedev 1: push 2: deploy (dark) 3: test (functional) 4: evaluate (architecture) 6: deploy (shadow) 7: test (performance) 8: evaluate (scalablity) 10: deploy (blue/green) 11: evaluate (business impact) 12: operate (NoOps) 5: promote 9: promote Dev
  • 15. Confidential 15 Keptn: Phase 1 – Creating a Project $ keptn create project sockshop shipyard.yaml prodstagedev prodstagedev 1 1 Create GitOps Config Repos 2 2 Create k8s Namespaces shipyard.yaml stages: - name: "dev" deployment_strategy: "dark" test_strategy: "functional" - name: "stage" deployment_strategy: "shadow" test_strategy: "performance" - name: "prod" deployment_strategy: "blue_green"
  • 16. Confidential 16 Keptn: Phase 2 – Onboarding a service $ keptn onboard service --project=sockshop --values=values_carts.yaml prodstagedev 1 1 Setup Registry Hooks 2 2 Apply Configuration + Istio 2 prodstagedev 2 2 values_carts.yaml replicaCount: 1 service: name: carts type: LoadBalancer externalPort: 80 container: name: carts resources: limits: cpu: 100m memory: 128Mi ...
  • 17. Confidential 17 Keptn: Phase 3 – Pushing an artifact and deploy to dev $ docker push yourregistry/carts:0.2 prodstagedev 1 prodstagedev 1 1 New Artifact: carts:0.2 dev 2 2 Start Deployment: carts:0.2 (dev, dark) 3 3 Deployment Finished: Success or Failure 4 4 Start Tests: Functional, Dev, carts 5 5 Tests Finished: Test Result & State 6 6 Start Deployment Evaluation: Perfspec 7 7 Evaluation Finished: Deployment Score 8 "indicators": [ { "id" : “Prometheus:go_memstats_alloc", "metricScore": 20 },{ "id": “Dynatrace:Avg_ActionDuration", "metricScore": 20 } ], "objective" : { "pass" : 90, “warning” : 75 } 6 8 Send new Artifact Event: carts:0.2 stage
  • 18. Confidential 18 Keptn: Phase 4 – Promoting an Artifact to Staging $ keptn send event newartifact carts:0.2 stage prodstagedev 1 prodstagedev 1 1 New Artifact: carts:0.2 stage 2 2 Start Deployment: carts:0.2 (stage, shadow) 3 3 Deployment Finished: Success or Failure 4 4 Start Tests: Performance, Stage, carts 5 5 Tests Finished: Test Result & State 6 6 Start Deployment Evaluation: Perfspec 7 7 Evaluation Finished: Deployment Score 8 6 8 Send new Artifact Event: carts:0.2 prod "indicators": [ { "id": “Dynatrace:RT_Real", "metricScore": 20 },{ "id": “Dynatrace:RT_Shadow", "metricScore": 20 } ], "objective" : { "pass" : 95 }
  • 19. Confidential 19 Keptn: Phase 4 – Promoting an Artifact to Production: Blue/Green no issues! $ keptn send event newartifact carts:0.2 production prodstagedev 1 prodstagedev 1 1 New Artifact: carts:0.2 prod 2 2 Start Deployment: carts:0.2 (prod, bluegreen) 3 3 Deployment Finished: Success or Failure 4 4 Start Deployment Evaluation: Perfspec 5 5 Evaluation Finished: Deployment Score4 6 6 Blue/Green Switch "indicators": [ { "id": “Dynatrace:ConversionRate", "metricScore": 100 }], "objective" : { "pass" : 95 }
  • 20. Confidential 20 Keptn: Phase 4 – Promoting an Artifact to Production: Blue/Green with problem! $ keptn send event newartifact carts:0.2 production prodstagedev 1 prodstagedev 1 1 New Artifact: carts:0.2 2 2 Start Deployment: carts:0.2 (prod, bluegreen) 3 3 Deployment Finished: Success or Failure 4 4 Start Deployment Evaluation: Perfspec 5 5 Evaluation Result: Dynatrace Problem Notify 4 6 6 Remediation: Back to Blue 6 Remediation: Trigger ServiceNow Workflow 6 66 6 Remediation: Update Configuration: carts:0.1
  • 22. Confidential 22 Want to learn more? • Learn how to use keptn: https://keptn.sh/docs/ • Clone, fork, star, contribute to keptn: https://github.com/keptn/ • Develop your own keptn-services: https://github.com/keptn/keptn-service-template • Join our community (slack invite, meetings): https://github.com/keptn/community • Follow us @keptnproject • Fill out our survey: https://dynatrace.ai/acsurvey • Reach out with any requests: • juergen.etzlstorfer@dynatrace.com • @jetzlstorfer