GitOps
Definition
GitOps is an operational framework that automates infrastructure and application deployment by using Git as the single source of truth.
At its core, GitOps treats the desired state of an entire system—including infrastructure configuration and application deployments—as code stored in a Git repository. Changes to this desired state are made through standard Git workflows, such as pull requests. Automated processes then observe these Git repositories and ensure that the live infrastructure and applications match the declared state. If a discrepancy is found, the system automatically reconciles it.
For instance, a team might update a configuration file in their Git repository to specify a new version of a web application.
GitOps is frequently employed in cloud-native environments, particularly with container orchestration platforms like Kubernetes, and is popular in DevOps practices for continuous integration and continuous delivery.