A year of GitOps at loveholidays - Dmitri Lerko

IN PRODUCTION
A YEAR OF GITOPS
WHAT IS CURRENTLY RUNNING IN YOUR PRODUCTION?
ABOUT ME
▸ Dmitri Lerko
▸ Ask questions https://www.linkedin.com/in/lerko/
▸ I will blog about GitOps here https://deploy.live
▸ GCP, Kubernetes, AWS Certified
WHAT IS GITOPS?
▸ Push > Pull
▸ Definition
▸ Making changes
WHAT IS GITOPS?
▸ Push > Pull
▸ Definition
▸ Making changes
WHAT IS GITOPS?
▸ Push > Pull
▸ Definition
▸ Making changes
CALL OF HANDS
Photo by Kaleb Nimz on Unsplash
BEFORE CLOUD, KUBERNETES, GITOPS
▸ Physical servers
BEFORE CLOUD, KUBERNETES, GITOPS
▸ Physical servers
▸ KVM VMs
BEFORE CLOUD, KUBERNETES, GITOPS
▸ Physical servers
▸ KVM VMs
▸ Jenkins
BEFORE CLOUD, KUBERNETES, GITOPS
▸ Physical servers
▸ KVM VMs
▸ Jenkins
▸ Ansible
CI WITH JENKINS
CD WITH JENKINS
▸ Also known as CIOps
SNOWFLAKEOPS
Photo by Kalle Kortelainen on Unsplash
I LOVE JENKINS
▸ 42 Tabs
▸ 268 Jobs
▸ 142 Plugins
JENKINS UI ROCKS
CLOUD NATIVE ERA
Photo by Samuel Zeller on Unsplash
CI/CD GOALS
▸ Full audit trail
CI/CD GOALS
▸ Full audit trail
▸ Everything as code
CI/CD GOALS
▸ Full audit trail
▸ Everything as code
▸ No cap on concurrency and parallelism
CI/CD GOALS
▸ Full audit trail
▸ Everything as code
▸ No cap on concurrency and parallelism
▸ Minimise configurational drift
CI/CD GOALS
▸ Full audit trail
▸ Everything as code
▸ No cap on concurrency and parallelism
▸ Minimise configurational drift
▸ Don’t give CI/CD a wildcard access to your environments
GITOPS IS THE ANSWER
▸ Full audit trail
▸ Everything as code
▸ No cap on concurrency and parallelism
▸ Minimise configurational drift
▸ Don’t give CI/CD a wildcard access to your environments
POOR MAN’S GITOPS
▸ while true
▸ git pull
▸ kubectl apply -f
▸ sleep 30
BETTER GITOPS
https://github.com/weaveworks/flux
CLOUD NATIVE CI
▸ Google Cloud Build
CLOUD NATIVE CI
▸ Google Cloud Build
▸ Minimalistic
CLOUD NATIVE CI
▸ Google Cloud Build
▸ Minimalistic
▸ Unlimited parallel builds
CLOUD NATIVE CI
▸ Google Cloud Build
▸ Minimalistic
▸ Unlimited parallel builds
▸ Declarative
CLOUD NATIVE CI
▸ Google Cloud Build
▸ Minimalistic
▸ Unlimited parallel builds
▸ Declarative
CLOUD NATIVE CI - IN THEORY
CLOUD NATIVE CI - IN PRACTICE
GITOPS BUILD STEP
▸ Use git, hub (GitHub’s CLI), yq (jq for YAML)
▸ Check out GitOps repo with git
▸ Make a branch
▸ Update image version using yq
▸ Commit changes
▸ Push branch
▸ Create a PR with hub
https://github.com/github/hub/releases/

https://github.com/mikefarah/yq/releases/
CLOUD NATIVE CD
GITOPS IS THE ANSWER
▸ Full audit trail
▸ Everything as code
▸ No cap on concurrency and parallelism
▸ Minimise configurational drift
▸ Don’t give CI/CD a wildcard access to your environments
WHY BOTHER?
▸ Best practices
WHY BOTHER?
▸ Best practices
▸ Developer friendly
WHY BOTHER?
▸ Best practices
▸ Developer friendly
▸ Quick to try
ANY DOWNSIDES?
▸ The incident
ANY DOWNSIDES?
▸ The incident
▸ Broken YAML manifests upset GitOps
LOVEHOLIDAYS + GITOPS
▸ 11,190
LOVEHOLIDAYS + GITOPS
▸ 11,190
▸ GitHub vs kubectl
FUTURE OF GITOPS AT LOVEHOLIDAYS
▸ Istio for canary and continuous deployments
FUTURE OF GITOPS AT LOVEHOLIDAYS
▸ Istio for canary and continuous deployments
▸ Roll-out https://github.com/weaveworks/kubediff
FUTURE OF GITOPS AT LOVEHOLIDAYS
▸ Istio for canary and continuous deployments
▸ Roll-out https://github.com/weaveworks/kubediff
▸ Teach kubediff how to self-heal violations
HOW TO START
https://github.com/weaveworks/flux

https://www.weave.works/blog/gitops-is-cloud-native

alternatives:

https://argoproj.github.io/argo-cd/

https://razee.io
WE ARE HIRING
CAREERS.LOVEHOLIDAYS.COM
QUESTIONS?
1 of 47

Recommended

ChatGPT and the Future of Work - Clark Boyd by
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
29.5K views69 slides
Getting into the tech field. what next by
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
6.8K views22 slides
Google's Just Not That Into You: Understanding Core Updates & Search Intent by
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
7.1K views99 slides
How to have difficult conversations by
How to have difficult conversations How to have difficult conversations
How to have difficult conversations Rajiv Jayarajah, MAppComm, ACC
5.9K views19 slides
Introduction to Data Science by
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data ScienceChristy Abraham Joy
82.8K views51 slides
Time Management & Productivity - Best Practices by
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
169.8K views42 slides

More Related Content

Recently uploaded

Playwright Retries by
Playwright RetriesPlaywright Retries
Playwright Retriesartembondar5
7 views1 slide
Bootstrapping vs Venture Capital.pptx by
Bootstrapping vs Venture Capital.pptxBootstrapping vs Venture Capital.pptx
Bootstrapping vs Venture Capital.pptxZeljko Svedic
17 views17 slides
nintendo_64.pptx by
nintendo_64.pptxnintendo_64.pptx
nintendo_64.pptxpaiga02016
7 views7 slides
The Path to DevOps by
The Path to DevOpsThe Path to DevOps
The Path to DevOpsJohn Valentino
6 views6 slides
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P... by
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...NimaTorabi2
19 views17 slides
Understanding HTML terminology by
Understanding HTML terminologyUnderstanding HTML terminology
Understanding HTML terminologyartembondar5
9 views8 slides

Recently uploaded(20)

Bootstrapping vs Venture Capital.pptx by Zeljko Svedic
Bootstrapping vs Venture Capital.pptxBootstrapping vs Venture Capital.pptx
Bootstrapping vs Venture Capital.pptx
Zeljko Svedic17 views
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P... by NimaTorabi2
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...
NimaTorabi219 views
Understanding HTML terminology by artembondar5
Understanding HTML terminologyUnderstanding HTML terminology
Understanding HTML terminology
artembondar59 views
Transport Management System - Shipment & Container Tracking by Freightoscope
Transport Management System - Shipment & Container TrackingTransport Management System - Shipment & Container Tracking
Transport Management System - Shipment & Container Tracking
Freightoscope 6 views
Supercharging your Python Development Environment with VS Code and Dev Contai... by Dawn Wages
Supercharging your Python Development Environment with VS Code and Dev Contai...Supercharging your Python Development Environment with VS Code and Dev Contai...
Supercharging your Python Development Environment with VS Code and Dev Contai...
Dawn Wages9 views
Advanced API Mocking Techniques Using Wiremock by Dimpy Adhikary
Advanced API Mocking Techniques Using WiremockAdvanced API Mocking Techniques Using Wiremock
Advanced API Mocking Techniques Using Wiremock
Dimpy Adhikary5 views
Electronic AWB - Electronic Air Waybill by Freightoscope
Electronic AWB - Electronic Air Waybill Electronic AWB - Electronic Air Waybill
Electronic AWB - Electronic Air Waybill
Freightoscope 7 views
Automated Testing of Microsoft Power BI Reports by RTTS
Automated Testing of Microsoft Power BI ReportsAutomated Testing of Microsoft Power BI Reports
Automated Testing of Microsoft Power BI Reports
RTTS13 views
How to build dyanmic dashboards and ensure they always work by Wiiisdom
How to build dyanmic dashboards and ensure they always workHow to build dyanmic dashboards and ensure they always work
How to build dyanmic dashboards and ensure they always work
Wiiisdom18 views
University of Borås-full talk-2023-12-09.pptx by Mahdi_Fahmideh
University of Borås-full talk-2023-12-09.pptxUniversity of Borås-full talk-2023-12-09.pptx
University of Borås-full talk-2023-12-09.pptx
Mahdi_Fahmideh13 views

Featured

Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present... by
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
55.5K views138 slides
12 Ways to Increase Your Influence at Work by
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
401.7K views64 slides
ChatGPT webinar slides by
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slidesAlireza Esmikhani
30.5K views36 slides
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G... by
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
3.6K views12 slides
Barbie - Brand Strategy Presentation by
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
25.1K views46 slides

Featured(20)

Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present... by Applitools
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools55.5K views
12 Ways to Increase Your Influence at Work by GetSmarter
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter401.7K views
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G... by DevGAMM Conference
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference3.6K views
Barbie - Brand Strategy Presentation by Erica Santiago
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
Erica Santiago25.1K views
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well by Saba Software
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Saba Software25.3K views
Introduction to C Programming Language by Simplilearn
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
Simplilearn8.5K views
The Pixar Way: 37 Quotes on Developing and Maintaining a Creative Company (fr... by Palo Alto Software
The Pixar Way: 37 Quotes on Developing and Maintaining a Creative Company (fr...The Pixar Way: 37 Quotes on Developing and Maintaining a Creative Company (fr...
The Pixar Way: 37 Quotes on Developing and Maintaining a Creative Company (fr...
Palo Alto Software88.4K views
9 Tips for a Work-free Vacation by Weekdone.com
9 Tips for a Work-free Vacation9 Tips for a Work-free Vacation
9 Tips for a Work-free Vacation
Weekdone.com7.2K views
How to Map Your Future by SlideShop.com
How to Map Your FutureHow to Map Your Future
How to Map Your Future
SlideShop.com275.1K views
Beyond Pride: Making Digital Marketing & SEO Authentically LGBTQ+ Inclusive -... by AccuraCast
Beyond Pride: Making Digital Marketing & SEO Authentically LGBTQ+ Inclusive -...Beyond Pride: Making Digital Marketing & SEO Authentically LGBTQ+ Inclusive -...
Beyond Pride: Making Digital Marketing & SEO Authentically LGBTQ+ Inclusive -...
AccuraCast3.4K views
Exploring ChatGPT for Effective Teaching and Learning.pptx by Stan Skrabut, Ed.D.
Exploring ChatGPT for Effective Teaching and Learning.pptxExploring ChatGPT for Effective Teaching and Learning.pptx
Exploring ChatGPT for Effective Teaching and Learning.pptx
Stan Skrabut, Ed.D.57.7K views
How to train your robot (with Deep Reinforcement Learning) by Lucas García, PhD
How to train your robot (with Deep Reinforcement Learning)How to train your robot (with Deep Reinforcement Learning)
How to train your robot (with Deep Reinforcement Learning)
Lucas García, PhD42.5K views
4 Strategies to Renew Your Career Passion by Daniel Goleman
4 Strategies to Renew Your Career Passion4 Strategies to Renew Your Career Passion
4 Strategies to Renew Your Career Passion
Daniel Goleman122.1K views
The Student's Guide to LinkedIn by LinkedIn
The Student's Guide to LinkedInThe Student's Guide to LinkedIn
The Student's Guide to LinkedIn
LinkedIn88.1K views
Different Roles in Machine Learning Career by Intellipaat
Different Roles in Machine Learning CareerDifferent Roles in Machine Learning Career
Different Roles in Machine Learning Career
Intellipaat12.4K views
Defining a Tech Project Vision in Eight Quick Steps pdf by TechSoup
Defining a Tech Project Vision in Eight Quick Steps pdfDefining a Tech Project Vision in Eight Quick Steps pdf
Defining a Tech Project Vision in Eight Quick Steps pdf
TechSoup 9.7K views

A year of GitOps at loveholidays - Dmitri Lerko