SlideShare a Scribd company logo
GitOps with Flux and
Flagger
15.07.2021
Sebastian Tiggelkamp
DevOps Engineer
St. Cajetan-Straße 43
D-81669 Munich, Germany
Phone: +49-89-45841-100
sebastian.tiggelkamp@consol.de
www.consol.com
Twitter: @consol_de
Enterprising IT.
Portfolio
Software
Engineering
Whether with modern
software architecture,
cloud-native software, IT
integration or customized
CI/CD pipelines –
we understand our
technological
know-how as an offer to
master the challenges of
digitalization.
IT Solutions
We develop IT solutions
with a high utility value
and pursue ideas beyond
our current business. The
results? For example our
software ConSol CM, our
open source offer for test
automation or
Red Hat Solutions.
IT Operations
Managed services, IT
operations or support –
at ConSol you choose
exactly the services that
an efficient IT requires.
For any project size,
whether on premises or
in the cloud. Individual
SLAs ensure calculable
costs at all times.
IT Consulting
No matter whether
coaching, consulting in
a special field or
complete management
of your IT project: With
more than 30 years of
competence, our
consulting services are
above all tailored to
you and realizable. consol.com
GitOps with Flux and Flagger Slide 4
Agenda
• Introduction
• GitOps

Workflow

Advantages & Challenges
• Flagger

Canary

Blue/Green Deployment
• Demo
• App deployment Flux & Flagger
GitOps with Flux and Flagger Slide 5
Introduction
GitOps
Using Git as the single source of truth to sync the desired state (stored in Git) with the current
deployed state (e.g. application running on Kubernetes) automatically
„GitOps is like DevOps powered by Git“
„GitOps is a way of implementing Continuous Deployment for cloud native applications“
„GitOps is the concept that deployments should be as easy as an engineer enacting a code
change“
GitOps with Flux and Flagger Slide 6
GitOps
Workflow
GitOps with Flux and Flagger Slide 7
GitOps
Advantages

Traceability

All changes to the system are traceable and relate to a Git action (e.g. commit, PR)

Prevent manual interactions

GitOps Operator can automatically revert manual changes to the system

Rollback

The state of a target system can be rolled back by e.g. revert a Git commit

Independency

Any CI engine can be used to build & test your deployment before the GitOps process will
take over
GitOps with Flux and Flagger Slide 8
GitOps
Challenges

Complexity

Depending on the scope, changing from a traditional deployment process to a GitOps
process can take some time

Debugging

It can be hard to locate errors in YAML manifests, especially if the number of manifests is
growing

Conflicts

If the CI-Engine changes manifests, parallel write-operations need to be prevented

Secrets

All system relevant information are stored in Git

Sensitive information like secrets need to be secured properly
GitOps with Flux and Flagger Slide 9
Flagger
Introduction

Automates the release process for applications running on k8s

Integrates several deployment strategies

Canary release

Blue/Green Deployment

A/B Testing

Deployment progression is based on metrics that are queried

Prometheus

Datadog

New Relic

Cloudwatch

Graphite
GitOps with Flux and Flagger Slide 10
Flagger
Alerting / Notification

Flagger can alert the user via

Slack

MS Teams

Discord

Rocket
GitOps with Flux and Flagger Slide 11
Flagger
Metrics

Builtin metrics

HTTP request success rate & duration

Custom metrics using MetricTemplates

External metric provider

Prometheus

Datadog

New Relic

Cloudwatch

Graphite
GitOps with Flux and Flagger Slide 12
Flagger
Canary Deployment
GitOps with Flux and Flagger Slide 13
Flagger
Blue/Green Deployment
Demo
Thank you!
Q&A
ConSol
Consulting & Solutions Software
GmbH
St.-Cajetan-Straße 43
D-81669 Munich
Germany
Tel.: +49-89-45841-100
info@consol.de
www.consol.com
Twitter: @consol_de

More Related Content

PDF
Meetup talk about the Red Hat OpenShift Service Mesh
PDF
Meetup talk Red Hat OpenShift service mesh
PDF
„GitOps with Flux and Flagger“
PDF
Update Strategies for the Edge, by Kat Cosgrove
PDF
Kubernetes - Cloud Native Application Orchestration - Catalin Jora
PPTX
Hybrid Programming in Hybrid Cloud: be ready to the success - Ferdinando Gor...
PDF
Building successful business Java apps: How to deliver more, code less, and c...
PDF
What Makes up a Modern Application Platform?
Meetup talk about the Red Hat OpenShift Service Mesh
Meetup talk Red Hat OpenShift service mesh
„GitOps with Flux and Flagger“
Update Strategies for the Edge, by Kat Cosgrove
Kubernetes - Cloud Native Application Orchestration - Catalin Jora
Hybrid Programming in Hybrid Cloud: be ready to the success - Ferdinando Gor...
Building successful business Java apps: How to deliver more, code less, and c...
What Makes up a Modern Application Platform?

What's hot (20)

PDF
Cloud Native 下的應用網路設計
PDF
[APIdays INTERFACE 2021] Now that we have K8s, can we stop re-inventing API p...
PDF
Managing OpenShift at Scale Across the Open Hybrid Cloud
PPTX
Investing in Cloud Integration at Microsoft IT
PPTX
Why nfv and digital transformation projects fail!
PPTX
Introduction to Microsoft Integration Technologies
PDF
Serverless Architectures in Banking: OpenWhisk on IBM Bluemix at Santander
PDF
Nrb Mainframe Day - z Legacy Innovation - New Architecture And Api Services -...
 
PPTX
Cloud hub - Overview
PDF
Software Architecture: A Story About Business Value and Tradeoffs
PDF
Cas d'usage ProtoStellar Cloud replatforming de l'application 1Logistic pour...
PDF
The Future of Cloud Native Apps - Chicago Intro
PDF
ITCamp 2017 - Raffaele Rialdi - A Deep Dive Into Bridging Node-js with .NET Core
PDF
Sicurezza integrate nella tua piattaforma Cloud-Native con VMware NSX (Pivota...
PPTX
Cloud Economics - Crayon Optimization Services
PDF
Workshop: Develop Serverless Applications with IBM Cloud Functions
PDF
OSGi & Java in Industrial IoT - More than a Solid Trend - Essential to Scale ...
PDF
The good, the bad, and the ugly of migrating hundreds of legacy applications ...
PPTX
Five myths about Network Function Virtualization (NFV)
PPTX
Introduction to Anypoint Runtime Fabric on Amazon Elastic Kubernetes Service ...
Cloud Native 下的應用網路設計
[APIdays INTERFACE 2021] Now that we have K8s, can we stop re-inventing API p...
Managing OpenShift at Scale Across the Open Hybrid Cloud
Investing in Cloud Integration at Microsoft IT
Why nfv and digital transformation projects fail!
Introduction to Microsoft Integration Technologies
Serverless Architectures in Banking: OpenWhisk on IBM Bluemix at Santander
Nrb Mainframe Day - z Legacy Innovation - New Architecture And Api Services -...
 
Cloud hub - Overview
Software Architecture: A Story About Business Value and Tradeoffs
Cas d'usage ProtoStellar Cloud replatforming de l'application 1Logistic pour...
The Future of Cloud Native Apps - Chicago Intro
ITCamp 2017 - Raffaele Rialdi - A Deep Dive Into Bridging Node-js with .NET Core
Sicurezza integrate nella tua piattaforma Cloud-Native con VMware NSX (Pivota...
Cloud Economics - Crayon Optimization Services
Workshop: Develop Serverless Applications with IBM Cloud Functions
OSGi & Java in Industrial IoT - More than a Solid Trend - Essential to Scale ...
The good, the bad, and the ugly of migrating hundreds of legacy applications ...
Five myths about Network Function Virtualization (NFV)
Introduction to Anypoint Runtime Fabric on Amazon Elastic Kubernetes Service ...
Ad

Similar to „GitOps with Flux and Flagger“ (20)

PDF
Introducing and Operating FME Flow for Kubernetes in a Large Enterprise: Expe...
PPTX
Cloud Native Apps with GitOps
PDF
Network Source of Truth and Infrastructure as Code revisited
PDF
Advance Your IoT Strategy with Integration of PLM to Oracle Product Hub
PDF
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
PDF
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
PDF
What is the concept of GitOps.pdf
PDF
Api gitlab: configurazione dei progetti as a service
PPTX
BATbern55 Bridging the Gap from Telco to Techco with Agile Architecture
PDF
Securing Your App Deployments with Tunnels, OIDC, RBAC, and Progressive Deliv...
PDF
GCP Security Refresher and GKE Enterprise In Action
PDF
UniqueSoft Overview
DOC
Rajendra Kumar Sahu_243535(Maximo 7 5 Certified )
PDF
System Engineering ISO 15288 Supported by PLM
PDF
DX, Guardrails, Golden Paths & Policy in Kubernetes
PDF
Powerup & GCP | Workshop on Google Kubernetes Engine
PDF
Secure, Strengthen, Automate, and Scale Modern Workloads with Red Hat & NGINX
PPTX
Empowering developers and operators through Gitlab and HashiCorp
PDF
Predix Builder Roadshow
PPTX
Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...
Introducing and Operating FME Flow for Kubernetes in a Large Enterprise: Expe...
Cloud Native Apps with GitOps
Network Source of Truth and Infrastructure as Code revisited
Advance Your IoT Strategy with Integration of PLM to Oracle Product Hub
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
What is the concept of GitOps.pdf
Api gitlab: configurazione dei progetti as a service
BATbern55 Bridging the Gap from Telco to Techco with Agile Architecture
Securing Your App Deployments with Tunnels, OIDC, RBAC, and Progressive Deliv...
GCP Security Refresher and GKE Enterprise In Action
UniqueSoft Overview
Rajendra Kumar Sahu_243535(Maximo 7 5 Certified )
System Engineering ISO 15288 Supported by PLM
DX, Guardrails, Golden Paths & Policy in Kubernetes
Powerup & GCP | Workshop on Google Kubernetes Engine
Secure, Strengthen, Automate, and Scale Modern Workloads with Red Hat & NGINX
Empowering developers and operators through Gitlab and HashiCorp
Predix Builder Roadshow
Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...
Ad

More from ConSol Consulting & Solutions Software GmbH (20)

PDF
PDF
"Remote development of Quarkus applications"
PDF
"Operator development made easy with Helm"
PDF
"Kubernetes as Driver of Generic IT Automation"
PDF
"Using Automation Tools To Deploy And Operate Applications In Real World Scen...
PDF
"Kubernetes as Driver of Generic IT Automation"
PDF
PDF
"Remote development of Quarkus applications"
PDF
"Operator development made easy with Helm"
PDF
"Using Automation Tools To Deploy And Operate Applications In Real World Scen...
PDF
App Security with Keycloak and Quarkus
PDF
ConSol_IBM_webcast_quarkus_the_blue_hedgehog_of_java_web_frameworks
PPTX
Keynote: Cloud native; DevOps,...
PPTX
Digitalisierung mit ConSol CM
PPTX
Monitoring klassisch oder Cloud
PPTX
Monitoring klassisch oder Cloud
PPTX
Cloud-Native ohne Vendor Lock-in mit Kubernetes
"Remote development of Quarkus applications"
"Operator development made easy with Helm"
"Kubernetes as Driver of Generic IT Automation"
"Using Automation Tools To Deploy And Operate Applications In Real World Scen...
"Kubernetes as Driver of Generic IT Automation"
"Remote development of Quarkus applications"
"Operator development made easy with Helm"
"Using Automation Tools To Deploy And Operate Applications In Real World Scen...
App Security with Keycloak and Quarkus
ConSol_IBM_webcast_quarkus_the_blue_hedgehog_of_java_web_frameworks
Keynote: Cloud native; DevOps,...
Digitalisierung mit ConSol CM
Monitoring klassisch oder Cloud
Monitoring klassisch oder Cloud
Cloud-Native ohne Vendor Lock-in mit Kubernetes

Recently uploaded (20)

PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPT
Introduction Database Management System for Course Database
PDF
System and Network Administration Chapter 2
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
System and Network Administraation Chapter 3
PPTX
ai tools demonstartion for schools and inter college
PDF
Digital Strategies for Manufacturing Companies
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
history of c programming in notes for students .pptx
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Nekopoi APK 2025 free lastest update
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
medical staffing services at VALiNTRY
Operating system designcfffgfgggggggvggggggggg
Design an Analysis of Algorithms II-SECS-1021-03
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Introduction Database Management System for Course Database
System and Network Administration Chapter 2
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
System and Network Administraation Chapter 3
ai tools demonstartion for schools and inter college
Digital Strategies for Manufacturing Companies
Wondershare Filmora 15 Crack With Activation Key [2025
history of c programming in notes for students .pptx
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
wealthsignaloriginal-com-DS-text-... (1).pdf
How to Choose the Right IT Partner for Your Business in Malaysia
Nekopoi APK 2025 free lastest update
Digital Systems & Binary Numbers (comprehensive )
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PTS Company Brochure 2025 (1).pdf.......
Odoo Companies in India – Driving Business Transformation.pdf
medical staffing services at VALiNTRY

„GitOps with Flux and Flagger“

  • 1. GitOps with Flux and Flagger 15.07.2021
  • 2. Sebastian Tiggelkamp DevOps Engineer St. Cajetan-Straße 43 D-81669 Munich, Germany Phone: +49-89-45841-100 sebastian.tiggelkamp@consol.de www.consol.com Twitter: @consol_de
  • 3. Enterprising IT. Portfolio Software Engineering Whether with modern software architecture, cloud-native software, IT integration or customized CI/CD pipelines – we understand our technological know-how as an offer to master the challenges of digitalization. IT Solutions We develop IT solutions with a high utility value and pursue ideas beyond our current business. The results? For example our software ConSol CM, our open source offer for test automation or Red Hat Solutions. IT Operations Managed services, IT operations or support – at ConSol you choose exactly the services that an efficient IT requires. For any project size, whether on premises or in the cloud. Individual SLAs ensure calculable costs at all times. IT Consulting No matter whether coaching, consulting in a special field or complete management of your IT project: With more than 30 years of competence, our consulting services are above all tailored to you and realizable. consol.com
  • 4. GitOps with Flux and Flagger Slide 4 Agenda • Introduction • GitOps  Workflow  Advantages & Challenges • Flagger  Canary  Blue/Green Deployment • Demo • App deployment Flux & Flagger
  • 5. GitOps with Flux and Flagger Slide 5 Introduction GitOps Using Git as the single source of truth to sync the desired state (stored in Git) with the current deployed state (e.g. application running on Kubernetes) automatically „GitOps is like DevOps powered by Git“ „GitOps is a way of implementing Continuous Deployment for cloud native applications“ „GitOps is the concept that deployments should be as easy as an engineer enacting a code change“
  • 6. GitOps with Flux and Flagger Slide 6 GitOps Workflow
  • 7. GitOps with Flux and Flagger Slide 7 GitOps Advantages  Traceability  All changes to the system are traceable and relate to a Git action (e.g. commit, PR)  Prevent manual interactions  GitOps Operator can automatically revert manual changes to the system  Rollback  The state of a target system can be rolled back by e.g. revert a Git commit  Independency  Any CI engine can be used to build & test your deployment before the GitOps process will take over
  • 8. GitOps with Flux and Flagger Slide 8 GitOps Challenges  Complexity  Depending on the scope, changing from a traditional deployment process to a GitOps process can take some time  Debugging  It can be hard to locate errors in YAML manifests, especially if the number of manifests is growing  Conflicts  If the CI-Engine changes manifests, parallel write-operations need to be prevented  Secrets  All system relevant information are stored in Git  Sensitive information like secrets need to be secured properly
  • 9. GitOps with Flux and Flagger Slide 9 Flagger Introduction  Automates the release process for applications running on k8s  Integrates several deployment strategies  Canary release  Blue/Green Deployment  A/B Testing  Deployment progression is based on metrics that are queried  Prometheus  Datadog  New Relic  Cloudwatch  Graphite
  • 10. GitOps with Flux and Flagger Slide 10 Flagger Alerting / Notification  Flagger can alert the user via  Slack  MS Teams  Discord  Rocket
  • 11. GitOps with Flux and Flagger Slide 11 Flagger Metrics  Builtin metrics  HTTP request success rate & duration  Custom metrics using MetricTemplates  External metric provider  Prometheus  Datadog  New Relic  Cloudwatch  Graphite
  • 12. GitOps with Flux and Flagger Slide 12 Flagger Canary Deployment
  • 13. GitOps with Flux and Flagger Slide 13 Flagger Blue/Green Deployment
  • 14. Demo
  • 16. ConSol Consulting & Solutions Software GmbH St.-Cajetan-Straße 43 D-81669 Munich Germany Tel.: +49-89-45841-100 info@consol.de www.consol.com Twitter: @consol_de