Synchronizing repository changes with GitOps

Special Ops

Article from ADMIN 79/2024
By
GitOps applies DevOps practices through infrastructure automation of version control repositories. We look at why it is so popular and why it is often used in the context of Kubernetes.

In the DevOps world, everybody is talking about GitOps. Its increase in popularity in recent years makes it clear that it's not just a passing fad, but a consistent trend offering significant advantages over legacy approaches.

What GitOps Is Not

Before I move on to specific examples of GitOps principles in practice, it is important to understand what GitOps is and, perhaps more importantly, what it is not. It's probably easier to start with what it isn't, because many people see GitOps as a panacea for all problems in managing applications and their infrastructure. Not only is this belief false – in fact, implementing a GitOps strategy usually involves introducing additional steps and software into your usual workflow, which may make it more complex – but if you don't have experienced staff, things can break more often.

You might also think that because GitOps has "Git" in name, it has to be somehow related to Git. In fact, GitOps can be realized in any version control system (VCS). Because Git is currently very popular, it only makes sense to use it instead of, say, SVN or Subversion; however, nobody forbids you from creating a GitOps solution with these legacy VCS options.

Finally, just because Git allows you to revert operations doesn't mean you can as easily bring your infrastructure to a previous state. One of the complications is the persistent data stored in your infrastructure. Take, for example, an Amazon Simple Storage Service (S3) bucket: If you accidentally delete it, you can recreate it later when you discover your mistake (provided someone else hasn't used that particular bucket name), but obviously the objects that had been there will all have disappeared. Therefore, for persistent data, and databases in particular, you need a specific approach that I briefly explain later. In short, GitOps doesn't make backups and all other good practices redundant,

...
Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy ADMIN Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • A GitOps continuous delivery tool for Kubernetes
    Argo CD uses Git repositories as the source of truth for defining a desired application state and automates the deployment in target environments.
  • News for Admins
  • Linux Foundation Launches New GitOps Training
  • GitLab for DevOps teams
    We show you how one company uses GitLab CI as a platform for continuous integration and deployment processes.
  • News for Admins
    In the news: Palo Alto Networks Introduces Cortex Cloud; Canonical to Provide 12 Years of Kubernetes Support; Mirantis Releases Open Source k0rdent; D-Wave Now Offers On-Premises Quantum Computing Systems; IP Fabric 7.0 Released; UK Releases Code of Practice for Securing AI; Red Hat Releases Kubernetes-Native Connectivity Link; OpenVox Automation Framework Announced; Sysdig Launches Open Source Stratoshark for Cloud Observability; Data Center Electricity Demand Projected to Double or Triple by 2028; Red Hat Releases OpenShift Virtualization Tools; 16GB Raspberry Pi 5 Announced; Open Storage Network Adds More Sites.
comments powered by Disqus
Subscribe to our ADMIN Newsletters
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs



Support Our Work

ADMIN content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.

Learn More”>
	</a>

<hr>		    
			</div>
		    		</div>

		<div class=