SlideShare a Scribd company logo
1 of 19
Download to read offline
Ways Towards a Productive
YAML-less Cloud-native DevEx
OOP 2021 Digital, February 10th 2021


@LeanderReimer #cloudnativenerd #qaware
Mario-Leander Reimer


Principal Software Architect


@LeanderReimer


#cloudnativenerd #qaware
// OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital
3
Code & Demos
https://github.com/qaware/productive-cloud-native-devex
// OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital
DevEx in the good old days …
4
Spec Design Test Integrate Operate
Develop Deploy
// OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital
Cloud-native DevEx today?
5
Spec Design Test Integrate Operate
Develop Deploy
// OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital
Cloud-native DevEx today!
6
Spec Design Test Integrate Operate
Develop Deploy
Docker
K8S JSON
YAML
AWS
NFA
CI/CD
More

YAML
Even
More
YAML
Agile
Tracing
M
etrics
More
Stuff
Eve
More
Eve
More
Eve
More
// OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital
How do you organise and enable
technology teams for


fast
fl
ow and high productivity?
7
// OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital
Too much cognitive load will become a bottleneck
for fast
fl
ow and high productivity.
• Intrinsic Cognitive Load - relates to fundamental aspects
and knowledge in the problem space (e.g. used languages,
APIs, frameworks, micro architecture)


• Extraneous Cognitive Load - relates to the environment


(e.g. deployment, con
fi
guration, console commands)


• Germane Cognitive Load - relates to speci
fi
c aspects of the
business domain (aka. „value added“ thinking and learning)
8
https://teamtopologies.com
// OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital
Minimize


intrinsic cognitive load


(by training, peer programming, standards, languages, …)
9
// OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital
Eliminate


extraneous cognitive load


(automate, automate, standardize, automate, automate, …)
10
// OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital
Use the right tools for the job!
11
Getty Images Liliboas
Skaffold Tilt
kustomize
Buildpacks Pulumi
// OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital
What are Cloud-native Buildpacks?
• Buildpacks were
fi
rst introduced by
Heroku in 2011. Since then, adopted by
Cloud Foundry and other PaaS.


• CNCF Project initiated by Pivotal and
Heroku in January 2018


• Buildpacks are pluggable, modular tools
to translate source code into OCI images


• Reduces the operational burden on devs


• Support enterprise operators who
manage apps at scale


• Several default build packs and option to
build custom packs.
12
// OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital
Kubernetes native con
fi
guration management
• https://kustomize.io


• A template-free way to customize
your application con
fi
guration


• Now, built into kubectl as apply -k


• Try https://kustomize.io/tutorial
13
// OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital
Pulumi - Modern Infrastructure as Code.
• Imperative management and de
fi
nition of Kubernetes applications
and objects using familiar programming language


• Use the same tools to build your application and its con
fi
guration


• Compose and share reusable components through code libraries


• Terraform alternative: supports all major cloud providers (AWS, …)


• Similar projects: Amazon CDK, cdk8s
14
// OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital
Fast. Repeatable. Simple.


Local Kubernetes development.
• https://skaffold.dev


• Handles the work
fl
ow for building, pushing and deploying an app


• Watches local
fi
le system. Continuously triggers build & deploy on
code changes


• Allows to synchronize static resources without rebuilding the image


• Support for different environments with Pro
fi
les, Env Vars Templates
and kube-context activation
15
// OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital
The Scaffold Work
fl
ow in a Nutshell
16
// OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital
— Stressless Local Kubernetes Development
• https://tilt.dev


• Automatically handles all the expert tricks for working in a K8s
development environment


• Fire up and manage complex microservice constellations


• Watches your
fi
le system and update servers in seconds


• Streams logs, events, and pod changes so that it can show you the
problem when something breaks


• Provides console HUD and nice Web UI
17
OUR CLOUD NATIVE


DEVEX IS SO BRIGHT,


WE NEED SHADES.
Mario-Leander Reimer


Principal Software Architect, QAware GmbH


mario-leander.reimer@qaware.de


https://www.qaware.de


https://speakerdeck.com/lreimer/


https://github.com/lreimer/
&

More Related Content

More from QAware GmbH

Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
 Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See... Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...QAware GmbH
 
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster QAware GmbH
 
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.QAware GmbH
 
Kubernetes with Cilium in AWS - Experience Report!
Kubernetes with Cilium in AWS - Experience Report!Kubernetes with Cilium in AWS - Experience Report!
Kubernetes with Cilium in AWS - Experience Report!QAware GmbH
 
50 Shades of K8s Autoscaling
50 Shades of K8s Autoscaling50 Shades of K8s Autoscaling
50 Shades of K8s AutoscalingQAware GmbH
 
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAPKontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAPQAware GmbH
 
Service Mesh Pain & Gain. Experiences from a client project.
Service Mesh Pain & Gain. Experiences from a client project.Service Mesh Pain & Gain. Experiences from a client project.
Service Mesh Pain & Gain. Experiences from a client project.QAware GmbH
 
50 Shades of K8s Autoscaling
50 Shades of K8s Autoscaling50 Shades of K8s Autoscaling
50 Shades of K8s AutoscalingQAware GmbH
 
Blue turns green! Approaches and technologies for sustainable K8s clusters.
Blue turns green! Approaches and technologies for sustainable K8s clusters.Blue turns green! Approaches and technologies for sustainable K8s clusters.
Blue turns green! Approaches and technologies for sustainable K8s clusters.QAware GmbH
 
Per Anhalter zu Cloud Nativen API Gateways
Per Anhalter zu Cloud Nativen API GatewaysPer Anhalter zu Cloud Nativen API Gateways
Per Anhalter zu Cloud Nativen API GatewaysQAware GmbH
 
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster QAware GmbH
 
How to speed up Spring Integration Tests
How to speed up Spring Integration TestsHow to speed up Spring Integration Tests
How to speed up Spring Integration TestsQAware GmbH
 
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-ClusterAus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-ClusterQAware GmbH
 
Cloud Migration – Eine Strategie die funktioniert
Cloud Migration – Eine Strategie die funktioniertCloud Migration – Eine Strategie die funktioniert
Cloud Migration – Eine Strategie die funktioniertQAware GmbH
 
Policy Driven Microservices mit Open Policy Agent
Policy Driven Microservices mit Open Policy AgentPolicy Driven Microservices mit Open Policy Agent
Policy Driven Microservices mit Open Policy AgentQAware GmbH
 
Make Developers Fly: Principles for Platform Engineering
Make Developers Fly: Principles for Platform EngineeringMake Developers Fly: Principles for Platform Engineering
Make Developers Fly: Principles for Platform EngineeringQAware GmbH
 
Security Lab: OIDC in der Praxis
Security Lab: OIDC in der PraxisSecurity Lab: OIDC in der Praxis
Security Lab: OIDC in der PraxisQAware GmbH
 
Die nächsten 100 Microservices
Die nächsten 100 MicroservicesDie nächsten 100 Microservices
Die nächsten 100 MicroservicesQAware GmbH
 
Enterprise-level Kubernetes Security mit Open Source Tools - geht das?
Enterprise-level Kubernetes Security mit Open Source Tools - geht das?Enterprise-level Kubernetes Security mit Open Source Tools - geht das?
Enterprise-level Kubernetes Security mit Open Source Tools - geht das?QAware GmbH
 
Put the ‘Auto’ in Autoscaling – Make Kubernetes VPA and HPA work together for...
Put the ‘Auto’ in Autoscaling – Make Kubernetes VPA and HPA work together for...Put the ‘Auto’ in Autoscaling – Make Kubernetes VPA and HPA work together for...
Put the ‘Auto’ in Autoscaling – Make Kubernetes VPA and HPA work together for...QAware GmbH
 

More from QAware GmbH (20)

Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
 Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See... Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
 
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
 
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
 
Kubernetes with Cilium in AWS - Experience Report!
Kubernetes with Cilium in AWS - Experience Report!Kubernetes with Cilium in AWS - Experience Report!
Kubernetes with Cilium in AWS - Experience Report!
 
50 Shades of K8s Autoscaling
50 Shades of K8s Autoscaling50 Shades of K8s Autoscaling
50 Shades of K8s Autoscaling
 
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAPKontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
 
Service Mesh Pain & Gain. Experiences from a client project.
Service Mesh Pain & Gain. Experiences from a client project.Service Mesh Pain & Gain. Experiences from a client project.
Service Mesh Pain & Gain. Experiences from a client project.
 
50 Shades of K8s Autoscaling
50 Shades of K8s Autoscaling50 Shades of K8s Autoscaling
50 Shades of K8s Autoscaling
 
Blue turns green! Approaches and technologies for sustainable K8s clusters.
Blue turns green! Approaches and technologies for sustainable K8s clusters.Blue turns green! Approaches and technologies for sustainable K8s clusters.
Blue turns green! Approaches and technologies for sustainable K8s clusters.
 
Per Anhalter zu Cloud Nativen API Gateways
Per Anhalter zu Cloud Nativen API GatewaysPer Anhalter zu Cloud Nativen API Gateways
Per Anhalter zu Cloud Nativen API Gateways
 
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
 
How to speed up Spring Integration Tests
How to speed up Spring Integration TestsHow to speed up Spring Integration Tests
How to speed up Spring Integration Tests
 
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-ClusterAus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
 
Cloud Migration – Eine Strategie die funktioniert
Cloud Migration – Eine Strategie die funktioniertCloud Migration – Eine Strategie die funktioniert
Cloud Migration – Eine Strategie die funktioniert
 
Policy Driven Microservices mit Open Policy Agent
Policy Driven Microservices mit Open Policy AgentPolicy Driven Microservices mit Open Policy Agent
Policy Driven Microservices mit Open Policy Agent
 
Make Developers Fly: Principles for Platform Engineering
Make Developers Fly: Principles for Platform EngineeringMake Developers Fly: Principles for Platform Engineering
Make Developers Fly: Principles for Platform Engineering
 
Security Lab: OIDC in der Praxis
Security Lab: OIDC in der PraxisSecurity Lab: OIDC in der Praxis
Security Lab: OIDC in der Praxis
 
Die nächsten 100 Microservices
Die nächsten 100 MicroservicesDie nächsten 100 Microservices
Die nächsten 100 Microservices
 
Enterprise-level Kubernetes Security mit Open Source Tools - geht das?
Enterprise-level Kubernetes Security mit Open Source Tools - geht das?Enterprise-level Kubernetes Security mit Open Source Tools - geht das?
Enterprise-level Kubernetes Security mit Open Source Tools - geht das?
 
Put the ‘Auto’ in Autoscaling – Make Kubernetes VPA and HPA work together for...
Put the ‘Auto’ in Autoscaling – Make Kubernetes VPA and HPA work together for...Put the ‘Auto’ in Autoscaling – Make Kubernetes VPA and HPA work together for...
Put the ‘Auto’ in Autoscaling – Make Kubernetes VPA and HPA work together for...
 

Recently uploaded

Role of Consumer Insights in business transformation
Role of Consumer Insights in business transformationRole of Consumer Insights in business transformation
Role of Consumer Insights in business transformationAnnie Melnic
 
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBoston Institute of Analytics
 
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...Dr Arash Najmaei ( Phd., MBA, BSc)
 
Statistics For Management by Richard I. Levin 8ed.pdf
Statistics For Management by Richard I. Levin 8ed.pdfStatistics For Management by Richard I. Levin 8ed.pdf
Statistics For Management by Richard I. Levin 8ed.pdfnikeshsingh56
 
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfEnglish-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfblazblazml
 
Digital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing worksDigital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing worksdeepakthakur548787
 
Digital Indonesia Report 2024 by We Are Social .pdf
Digital Indonesia Report 2024 by We Are Social .pdfDigital Indonesia Report 2024 by We Are Social .pdf
Digital Indonesia Report 2024 by We Are Social .pdfNicoChristianSunaryo
 
IBEF report on the Insurance market in India
IBEF report on the Insurance market in IndiaIBEF report on the Insurance market in India
IBEF report on the Insurance market in IndiaManalVerma4
 
Non Text Magic Studio Magic Design for Presentations L&P.pdf
Non Text Magic Studio Magic Design for Presentations L&P.pdfNon Text Magic Studio Magic Design for Presentations L&P.pdf
Non Text Magic Studio Magic Design for Presentations L&P.pdfPratikPatil591646
 
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis model
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis modelDecoding Movie Sentiments: Analyzing Reviews with Data Analysis model
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis modelBoston Institute of Analytics
 
DATA ANALYSIS using various data sets like shoping data set etc
DATA ANALYSIS using various data sets like shoping data set etcDATA ANALYSIS using various data sets like shoping data set etc
DATA ANALYSIS using various data sets like shoping data set etclalithasri22
 
Presentation of project of business person who are success
Presentation of project of business person who are successPresentation of project of business person who are success
Presentation of project of business person who are successPratikSingh115843
 
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...Jack Cole
 
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...Boston Institute of Analytics
 

Recently uploaded (17)

Insurance Churn Prediction Data Analysis Project
Insurance Churn Prediction Data Analysis ProjectInsurance Churn Prediction Data Analysis Project
Insurance Churn Prediction Data Analysis Project
 
Role of Consumer Insights in business transformation
Role of Consumer Insights in business transformationRole of Consumer Insights in business transformation
Role of Consumer Insights in business transformation
 
2023 Survey Shows Dip in High School E-Cigarette Use
2023 Survey Shows Dip in High School E-Cigarette Use2023 Survey Shows Dip in High School E-Cigarette Use
2023 Survey Shows Dip in High School E-Cigarette Use
 
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
 
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
 
Statistics For Management by Richard I. Levin 8ed.pdf
Statistics For Management by Richard I. Levin 8ed.pdfStatistics For Management by Richard I. Levin 8ed.pdf
Statistics For Management by Richard I. Levin 8ed.pdf
 
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfEnglish-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
 
Digital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing worksDigital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing works
 
Digital Indonesia Report 2024 by We Are Social .pdf
Digital Indonesia Report 2024 by We Are Social .pdfDigital Indonesia Report 2024 by We Are Social .pdf
Digital Indonesia Report 2024 by We Are Social .pdf
 
IBEF report on the Insurance market in India
IBEF report on the Insurance market in IndiaIBEF report on the Insurance market in India
IBEF report on the Insurance market in India
 
Non Text Magic Studio Magic Design for Presentations L&P.pdf
Non Text Magic Studio Magic Design for Presentations L&P.pdfNon Text Magic Studio Magic Design for Presentations L&P.pdf
Non Text Magic Studio Magic Design for Presentations L&P.pdf
 
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis model
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis modelDecoding Movie Sentiments: Analyzing Reviews with Data Analysis model
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis model
 
DATA ANALYSIS using various data sets like shoping data set etc
DATA ANALYSIS using various data sets like shoping data set etcDATA ANALYSIS using various data sets like shoping data set etc
DATA ANALYSIS using various data sets like shoping data set etc
 
Presentation of project of business person who are success
Presentation of project of business person who are successPresentation of project of business person who are success
Presentation of project of business person who are success
 
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...
 
Data Analysis Project: Stroke Prediction
Data Analysis Project: Stroke PredictionData Analysis Project: Stroke Prediction
Data Analysis Project: Stroke Prediction
 
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
 

Ways towards a productive cloud-native DevEx

  • 1. Ways Towards a Productive YAML-less Cloud-native DevEx OOP 2021 Digital, February 10th 2021 @LeanderReimer #cloudnativenerd #qaware
  • 2. Mario-Leander Reimer Principal Software Architect @LeanderReimer #cloudnativenerd #qaware
  • 3. // OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital 3 Code & Demos https://github.com/qaware/productive-cloud-native-devex
  • 4. // OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital DevEx in the good old days … 4 Spec Design Test Integrate Operate Develop Deploy
  • 5. // OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital Cloud-native DevEx today? 5 Spec Design Test Integrate Operate Develop Deploy
  • 6. // OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital Cloud-native DevEx today! 6 Spec Design Test Integrate Operate Develop Deploy Docker K8S JSON YAML AWS NFA CI/CD More
 YAML Even More YAML Agile Tracing M etrics More Stuff Eve More Eve More Eve More
  • 7. // OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital How do you organise and enable technology teams for fast fl ow and high productivity? 7
  • 8. // OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital Too much cognitive load will become a bottleneck for fast fl ow and high productivity. • Intrinsic Cognitive Load - relates to fundamental aspects and knowledge in the problem space (e.g. used languages, APIs, frameworks, micro architecture) • Extraneous Cognitive Load - relates to the environment 
 (e.g. deployment, con fi guration, console commands) • Germane Cognitive Load - relates to speci fi c aspects of the business domain (aka. „value added“ thinking and learning) 8 https://teamtopologies.com
  • 9. // OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital Minimize intrinsic cognitive load 
 (by training, peer programming, standards, languages, …) 9
  • 10. // OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital Eliminate extraneous cognitive load 
 (automate, automate, standardize, automate, automate, …) 10
  • 11. // OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital Use the right tools for the job! 11 Getty Images Liliboas Skaffold Tilt kustomize Buildpacks Pulumi
  • 12. // OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital What are Cloud-native Buildpacks? • Buildpacks were fi rst introduced by Heroku in 2011. Since then, adopted by Cloud Foundry and other PaaS. • CNCF Project initiated by Pivotal and Heroku in January 2018 • Buildpacks are pluggable, modular tools to translate source code into OCI images • Reduces the operational burden on devs • Support enterprise operators who manage apps at scale • Several default build packs and option to build custom packs. 12
  • 13. // OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital Kubernetes native con fi guration management • https://kustomize.io • A template-free way to customize your application con fi guration • Now, built into kubectl as apply -k • Try https://kustomize.io/tutorial 13
  • 14. // OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital Pulumi - Modern Infrastructure as Code. • Imperative management and de fi nition of Kubernetes applications and objects using familiar programming language • Use the same tools to build your application and its con fi guration • Compose and share reusable components through code libraries • Terraform alternative: supports all major cloud providers (AWS, …) • Similar projects: Amazon CDK, cdk8s 14
  • 15. // OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital Fast. Repeatable. Simple. 
 Local Kubernetes development. • https://skaffold.dev • Handles the work fl ow for building, pushing and deploying an app • Watches local fi le system. Continuously triggers build & deploy on code changes • Allows to synchronize static resources without rebuilding the image • Support for different environments with Pro fi les, Env Vars Templates and kube-context activation 15
  • 16. // OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital The Scaffold Work fl ow in a Nutshell 16
  • 17. // OOP 2021 Digital // Ways Towards a Productive YAML-less Cloud-native DevEx // @LeanderReimer #cloudnativenerd #qaware #OOPdigital — Stressless Local Kubernetes Development • https://tilt.dev • Automatically handles all the expert tricks for working in a K8s development environment • Fire up and manage complex microservice constellations • Watches your fi le system and update servers in seconds • Streams logs, events, and pod changes so that it can show you the problem when something breaks • Provides console HUD and nice Web UI 17
  • 18. OUR CLOUD NATIVE DEVEX IS SO BRIGHT, WE NEED SHADES.
  • 19. Mario-Leander Reimer Principal Software Architect, QAware GmbH mario-leander.reimer@qaware.de https://www.qaware.de https://speakerdeck.com/lreimer/ https://github.com/lreimer/ &