GitOps holds all the relevant information for an application’s infrastructure in one place. The essential knowledge obtained with the project is stored in the application’s git repository, which ensures more consistency in the infrastructure environment and makes it easier to create value for all applications in a system. We can think of GitOps as a sum of Continuous Integration (CI), Continuous Deployment (CD), and Infrastructure as Code (IaC).
During the reconciliation process, GitOps acts as an auditor, checking if every infrastructure operation is happening according to the specified code. For instance, if there is an intentional reduction in the number of servers, the reconciliation will check if the number of servers in execution is the same as specified in the code. GitOps will create the necessary instance to adjust the difference if they are not aligned.