SlideShare a Scribd company logo
GitOps in a
nutshell
Lucien
Boix
Lucien
Boix
▪ 38 ans, both French and Canadian
▪ From Lyon (France)
▪ Living since 2013 in Montreal
(Canada)
▪ DevOps Specialist (SRE)
▫ at 360.Agency
▫ Tools and hundreds of
websites for car dealerships
2
3
Quick timeline
Quick timeline
4
2013 2014
201
7
Release of Docker Release of Kubernetes
The term “GitOps” first
appeared in 2017 in a
blog post by Alexis
Richardson (co-founder
and CEO of Weaveworks,
which closed in 2024)
“
It’s a methodology for
developer tooling to
drive operations. This
post discussed the use
of declarative tools and
best practices of
configurations being
code and therefore
should be version
5
Story in 2016 at Weaveworks
▪ Risky planned change
▪ Kubernetes clusters wiped in AWS
▪ The entire stack was rebuilt in 45 minutes
▪ All configurations were in Git
▫ They were pushing themselves to do it
▫ 1 change in production = 1 commit
▪ "Why not automate it?"
6
GitOps Principles v1.0.0 (lien) in 2021
7
The 4 pillars of GitOps
The 4 pillars in GitOps
8
Declarative
The desired state of the
system is defined
declaratively
Versioned & immutable
The desired state of the
system is versioned in Git
Approved changes are
automatically applied to
the the system by an
agent (running inside the
system)
Automatic pull
This agent (running
inside the system) also
detects and corrects the
drift
Reconciliation
9
GitOps with
Kubernetes
GitOps tools for Kubernetes
▪ FluxCD (open source)
▫ Created by Weaveworks
▫ Given to the CNCF in 2019
▫ Light, no UI, notifications (Slack, Teams,
Discord, etc.)
▫ Can watch multiple repos (Sources)
▫ Abundant documentation
10
▪ ArgoCD (open source)
▫ More developer centered than Flux (which is
more SRE), UI out of the box
▫ More features (manual sync, maintenance
window)
▪ Jenkins X (open source)
GitOps tools for Kubernetes
11
12
GitOps in practice
Here is the scope of our
example
13
3 colleagues are working on
this app
▪ Wants to deploy a new release of the app
▪ Wants to tune the allocated resources
▫ By slightly increasing the memory limit
▪ Wants to change an environment variable
▫ Turning off the cache for a test
14
15
If previous embedded video is broken or does not play, use
this link:
https://www.youtube.com/watch?v=_m_-TWw6i2A
16
17
Takeaways
Takeaways
▪ GitOps is a philosophy (best practices) for
managing, deploying and monitoring containers
▪ GitOps also changes the way of working in a
company
▫ Developers have ownership of the lifecycle of
their applications
▫ We are required to communicate (through MR
18
Takeaways
▪ Improved productivity
▫ Fewer errors, lower costs
▫ No need to involve another team for
deployment / rollback, fewer procedures /
runbooks
▪ Enhanced security
▫ Native audit from Git, everything is traceable
19
Takeaways
▪ In the end: a good balance between control and
delivery speed
▪ A few best practices
▫ commit ID in the name of the built image
▫ pipeline does not have direct access to the
system
▫ pipeline runs syntax tests
20
21
Going further
Auto-Image Update
▪ The agent scans the registry according to our
rules
▫ Minor release for a dependency (nginx,
etc.)
▪ If a new image is uploaded, the agent deploys
it
▫ Using a commit / push of course
Going further
22
Going further
Exploring Infrastructure As Code (IaC) in general
▪ Philosophy : no more manual setup
▪ Brings reliability, visibility, reduces costs
We can also manage changes with a Git repository
for :
▪ Infrastructure (instances setup)
▪ Network (routing rules, firewalls)
▪ Access (list of authorized accounts)
23
Thank
you!
Any question?
https://www.linkedin.com/in/lucien
boix/
24
Credits
This slide template was created and made
available for free by SlidesCarnival
25

More Related Content

PPTX
Cloud Native Apps with GitOps
PDF
GitOps 101 Presentation.pdf
PDF
Cloud native CI/CD with GitOps
PDF
GitOps is the best modern practice for CD with Kubernetes
PPTX
Cloud Native Transformation (Alexis Richardson) - Continuous Lifecycle 2018 ...
PDF
Speeding up your team with GitOps
PDF
Delivering Quality at Speed with GitOps
PDF
Free GitOps Workshop (with Intro to Kubernetes & GitOps)
Cloud Native Apps with GitOps
GitOps 101 Presentation.pdf
Cloud native CI/CD with GitOps
GitOps is the best modern practice for CD with Kubernetes
Cloud Native Transformation (Alexis Richardson) - Continuous Lifecycle 2018 ...
Speeding up your team with GitOps
Delivering Quality at Speed with GitOps
Free GitOps Workshop (with Intro to Kubernetes & GitOps)

Similar to GitOps in a nutshell (Montreal CNCF meetup May 2024) (20)

PDF
Free GitOps Workshop
PDF
PDF GitOps Cookbook (Third Early Release) Natale Vinto download
PDF
GitOps: Git come unica fonte di verità per applicazioni e infrastruttura
PDF
Promise of DevOps
PPTX
GitOps - Modern best practices for high velocity app dev using cloud native t...
PDF
Continuous Lifecycle London 2018 Event Keynote
PDF
Gitops Cookbook Second Early Release Natale Vinto Alex Soto Bueno
PDF
Hardening Your CI/CD Pipelines with GitOps and Continuous Security
PDF
GitOps, Driving NGN Operations Teams 211127 #kcdgt 2021
PDF
Gitops Hands On
PDF
What is GitOps? How GitOps works? we discuss Key Challanges.
PDF
What is GitOps? How GitOps works? we discuss Key Challanges.
PDF
From Zero to GitOps Heroes
PDF
Webinar: Capabilities, Confidence and Community – What Flux GA Means for You
PDF
Perforce helix git swarm jan 2016(pva1) meetup
PDF
Weave GitOps Core Overview (Free GitOps Workshop)
PPTX
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
PDF
What is the concept of GitOps.pdf
PDF
DevOps - A Purpose for an Institution.pdf
PDF
GitOps Cookbook (Third Early Release) Natale Vinto
Free GitOps Workshop
PDF GitOps Cookbook (Third Early Release) Natale Vinto download
GitOps: Git come unica fonte di verità per applicazioni e infrastruttura
Promise of DevOps
GitOps - Modern best practices for high velocity app dev using cloud native t...
Continuous Lifecycle London 2018 Event Keynote
Gitops Cookbook Second Early Release Natale Vinto Alex Soto Bueno
Hardening Your CI/CD Pipelines with GitOps and Continuous Security
GitOps, Driving NGN Operations Teams 211127 #kcdgt 2021
Gitops Hands On
What is GitOps? How GitOps works? we discuss Key Challanges.
What is GitOps? How GitOps works? we discuss Key Challanges.
From Zero to GitOps Heroes
Webinar: Capabilities, Confidence and Community – What Flux GA Means for You
Perforce helix git swarm jan 2016(pva1) meetup
Weave GitOps Core Overview (Free GitOps Workshop)
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
What is the concept of GitOps.pdf
DevOps - A Purpose for an Institution.pdf
GitOps Cookbook (Third Early Release) Natale Vinto
Ad

Recently uploaded (20)

PDF
Approach and Philosophy of On baking technology
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
cuic standard and advanced reporting.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Big Data Technologies - Introduction.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Empathic Computing: Creating Shared Understanding
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Spectroscopy.pptx food analysis technology
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Approach and Philosophy of On baking technology
Programs and apps: productivity, graphics, security and other tools
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Review of recent advances in non-invasive hemoglobin estimation
cuic standard and advanced reporting.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Chapter 3 Spatial Domain Image Processing.pdf
Network Security Unit 5.pdf for BCA BBA.
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Big Data Technologies - Introduction.pptx
20250228 LYD VKU AI Blended-Learning.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Machine learning based COVID-19 study performance prediction
Empathic Computing: Creating Shared Understanding
Building Integrated photovoltaic BIPV_UPV.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Spectroscopy.pptx food analysis technology
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Ad

GitOps in a nutshell (Montreal CNCF meetup May 2024)

  • 2. Lucien Boix ▪ 38 ans, both French and Canadian ▪ From Lyon (France) ▪ Living since 2013 in Montreal (Canada) ▪ DevOps Specialist (SRE) ▫ at 360.Agency ▫ Tools and hundreds of websites for car dealerships 2
  • 4. Quick timeline 4 2013 2014 201 7 Release of Docker Release of Kubernetes The term “GitOps” first appeared in 2017 in a blog post by Alexis Richardson (co-founder and CEO of Weaveworks, which closed in 2024)
  • 5. “ It’s a methodology for developer tooling to drive operations. This post discussed the use of declarative tools and best practices of configurations being code and therefore should be version 5
  • 6. Story in 2016 at Weaveworks ▪ Risky planned change ▪ Kubernetes clusters wiped in AWS ▪ The entire stack was rebuilt in 45 minutes ▪ All configurations were in Git ▫ They were pushing themselves to do it ▫ 1 change in production = 1 commit ▪ "Why not automate it?" 6
  • 7. GitOps Principles v1.0.0 (lien) in 2021 7 The 4 pillars of GitOps
  • 8. The 4 pillars in GitOps 8 Declarative The desired state of the system is defined declaratively Versioned & immutable The desired state of the system is versioned in Git Approved changes are automatically applied to the the system by an agent (running inside the system) Automatic pull This agent (running inside the system) also detects and corrects the drift Reconciliation
  • 10. GitOps tools for Kubernetes ▪ FluxCD (open source) ▫ Created by Weaveworks ▫ Given to the CNCF in 2019 ▫ Light, no UI, notifications (Slack, Teams, Discord, etc.) ▫ Can watch multiple repos (Sources) ▫ Abundant documentation 10
  • 11. ▪ ArgoCD (open source) ▫ More developer centered than Flux (which is more SRE), UI out of the box ▫ More features (manual sync, maintenance window) ▪ Jenkins X (open source) GitOps tools for Kubernetes 11
  • 13. Here is the scope of our example 13
  • 14. 3 colleagues are working on this app ▪ Wants to deploy a new release of the app ▪ Wants to tune the allocated resources ▫ By slightly increasing the memory limit ▪ Wants to change an environment variable ▫ Turning off the cache for a test 14
  • 15. 15
  • 16. If previous embedded video is broken or does not play, use this link: https://www.youtube.com/watch?v=_m_-TWw6i2A 16
  • 18. Takeaways ▪ GitOps is a philosophy (best practices) for managing, deploying and monitoring containers ▪ GitOps also changes the way of working in a company ▫ Developers have ownership of the lifecycle of their applications ▫ We are required to communicate (through MR 18
  • 19. Takeaways ▪ Improved productivity ▫ Fewer errors, lower costs ▫ No need to involve another team for deployment / rollback, fewer procedures / runbooks ▪ Enhanced security ▫ Native audit from Git, everything is traceable 19
  • 20. Takeaways ▪ In the end: a good balance between control and delivery speed ▪ A few best practices ▫ commit ID in the name of the built image ▫ pipeline does not have direct access to the system ▫ pipeline runs syntax tests 20
  • 22. Auto-Image Update ▪ The agent scans the registry according to our rules ▫ Minor release for a dependency (nginx, etc.) ▪ If a new image is uploaded, the agent deploys it ▫ Using a commit / push of course Going further 22
  • 23. Going further Exploring Infrastructure As Code (IaC) in general ▪ Philosophy : no more manual setup ▪ Brings reliability, visibility, reduces costs We can also manage changes with a Git repository for : ▪ Infrastructure (instances setup) ▪ Network (routing rules, firewalls) ▪ Access (list of authorized accounts) 23
  • 25. Credits This slide template was created and made available for free by SlidesCarnival 25