Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}
Refcard #297

GitOps for Kubernetes

GitOps is a fast and secure method for developers at growing companies to maintain complex applications running in Kubernetes. It’s safe to say that what DevOps is to the cloud, GitOps is to cloud-native. In this Refcard, we’ll be taking a look at operating models for building cloud-native applications, the key benefits of GitOps (like stronger security and easier auditing), handling configuration updates with Kubernetes, and more.

2,887

Brought to you by

Weaveworks
Free .PDF for easy Reference

Written by

Anita Buehrle Developer Advocate & Writer, Weaveworks
John Vester Sr. Architect, CleanSlate Technology Group @JohnJVester
Refcard #297

GitOps for Kubernetes

GitOps is a fast and secure method for developers at growing companies to maintain complex applications running in Kubernetes. It’s safe to say that what DevOps is to the cloud, GitOps is to cloud-native. In this Refcard, we’ll be taking a look at operating models for building cloud-native applications, the key benefits of GitOps (like stronger security and easier auditing), handling configuration updates with Kubernetes, and more.

2,887
Free .PDF for easy Reference

Written by

Anita Buehrle Developer Advocate & Writer, Weaveworks
John Vester Sr. Architect, CleanSlate Technology Group @JohnJVester

Brought to you by

Weaveworks
Table of Contents

What DevOps Is to the Cloud, GitOps Is to Cloud-Native

An Operating Model for Building Cloud-Native Applications

Section 1

What DevOps Is to the Cloud, GitOps Is to Cloud-Native

Companies that want to go fast need to deploy more often and more reliably, with less overhead. GitOps is a fast and secure method for developers to maintain and update complex applications running in Kubernetes.

Since Kubernetes and many other cloud-native technologies are almost entirely declarative, infrastructure definitions can be kept alongside application code in Git. Keeping your entire system in Git means that your development team uses familiar Git-based workflows and pull requests to apply both application and infrastructure changes to Kubernetes.

With the entire state of your cluster kept under source control, diff tools and synchronization agents can compare what's running in production with what's under source control — and when a divergence is detected between the two, an alert can be sent, effectively creating a feedback and control loop for managing your cluster.

Section 2

An Operating Model for Building Cloud-Native Applications

At its core, GitOps is defined as:

  1. An operating model for Kubernetes and other cloud-native technologies, providing a set of best practices that unify deployment, management, and monitoring for containerized clusters and applications.

  2. A path toward a developer experience for managing applications where end-to-end CI/CD pipelines and Git workflows are applied to both operations and development.

Continuous Delivery With Freedom of Choice

GitOps gives you the freedom to choose the best tools for the different parts of your CI/CD pipelines. You can select tools from the open-source ecosystem or from closed-source. Depending on your needs, you may even combine them.

Whatever tools you choose for your deployment and delivery pipelines, applying GitOps best practices should be an integral component of your continuous delivery process. Doing so will make building and adopting a continuous delivery culture into your organization easier.

This is page 1 of the GitOps for Kubernetes Refcard. To read the full Refcard, you can download the full PDF above.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}