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.
An Operating Model for Building Cloud-Native Applications
At its core, GitOps is defined as:
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.
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.