What is GitOps?
The term GitOps was first described by Lexis Richardson, CEO of Weaveworks, in 2017. At that time, he presented the four principles of GitOps, which are as follows:
- The entire system is described declaratively: This means that any configuration of your application and infrastructure needs to be treated as code, but not as a set of instructions, as you would with scripts or automation code. Instead, you must use a set of facts that describes the desired state of your system. These declaration files are versioned in Git, which is your single source of truth. The great benefit of this principle is that you can easily deploy or roll back your applications and, more importantly, restore your environment quickly if a disaster occurs.
- The canonical desired system state is versioned in Git: Git is your source of truth. It needs to be the single place that triggers all the changes in your systems. Ideally, nothing should be done directly on the systems, but through...