DZone
DevOps Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > DevOps Zone > A Practical Guide to GitOps

A Practical Guide to GitOps

Learn about GitOps, the term we use to describe the way we rely on developer tooling to drive operations.

Anita Buehrle user avatar by
Anita Buehrle
·
Feb. 20, 19 · DevOps Zone · Tutorial
Like (4)
Save
Tweet
14.52K Views

Join the DZone community and get the full member experience.

Join For Free

What Is GitOps?

"GitOps" is the term we use to describe the way we rely on developer tooling to drive operations. It is an operating model for cloud native applications such as Kubernetes that enables continuous delivery through automated deployment, monitoring, and management by using Git as the "single source of truth."

Why Do We Love GitOps?

We love GitOps because it delivers core, cloud-native benefits such as agility, reliability, and speed. A GitOps pipeline enables developers to speed up development and to safely and securely make changes to complex applications. It also gives developers the freedom and flexibility to choose the tools that they are familiar with and that work best in their dev environments. Developers can work with either open source and closed source tools, whatever they prefer.

Aside from this freedom, both enterprise and startup development teams can implement a GitOps approach for more stability and reliability over a typical CI/CD pipeline.

One of the improvements a GitOps deployment pipeline provides over a traditional CI/CD pipeline is a clear separation of common security concerns. With a traditional CI/CD pipeline, developers often need to share the API credentials of their Kubernetes cluster with their CI tooling. With GitOps, this is no longer the case and therefore is a more secure way of delivering updates to your cluster.

GitOps Principles

There are four key principles of GitOps that drive its implementation:

  1. Describe the entire system declaratively.
  2. Version the canonical desired system state in Git.
  3. Automatically apply approved changes to the desired state.
  4. Ensure correctness and alert on divergence with software agents.

Download our Practical Guide to GitOps and start operating Kubernetes the GitOps way. This guide walks you through principles, benefits and what to expect when you start adopting the GitOps methodologies. Also included in the guide is an in-depth hands-on tutorial that shows how to build an end-to-end CI/CD pipeline and deploy changes to Kubernetes using GitOps best practices.

CI/CD

Published at DZone with permission of Anita Buehrle, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • How to Build Microservices With Node.js
  • Event-Driven Hello World Program
  • Five Tips to Fasten Your Skewed Joins in Apache Spark
  • Event-Driven Microservices?

Comments

DevOps Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo